Set add route dialog non-resizeable so WMs size it more sensibly (looked ridiculous in ion3).

Tab cleanups.


git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3787 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-09-22 16:54:17 +00:00
parent ea1c705839
commit 8623302340
3 changed files with 4 additions and 4 deletions

View file

@ -93,6 +93,7 @@ AddRouteDialog::AddRouteDialog ()
set_name ("AddRouteDialog");
set_wmclass (X_("ardour_add_track_bus"), "Ardour");
set_position (Gtk::WIN_POS_MOUSE);
set_resizable (false);
name_template_entry.set_name ("AddRouteDialogNameTemplateEntry");
track_button.set_name ("AddRouteDialogRadioButton");
@ -134,7 +135,7 @@ AddRouteDialog::AddRouteDialog ()
VBox *dvbox = manage (new VBox);
HBox *dhbox = manage (new HBox);
ccframe.set_label (_("Channel Configuration"));
ccframe.set_label (_("Channel Configuration"));
ccframe.set_shadow_type (SHADOW_IN);
dvbox->pack_start (channel_combo, true, false, 5);

View file

@ -3082,8 +3082,7 @@ Editor::line_drag_motion_callback (ArdourCanvas::Item* item, GdkEvent* event)
cy = max (0.0, cy);
cy = min ((double) line->height(), cy);
double fraction;
fraction = 1.0 - (cy / line->height());
double fraction = 1.0 - (cy / line->height());
bool push;

View file

@ -38,7 +38,7 @@ class TimeAxisView;
class TimeAxisViewItem : public Selectable
{
public:
virtual ~TimeAxisViewItem() ;
virtual ~TimeAxisViewItem() ;
/**
* Set the position of this item upon the timeline to the specified value