Copy-edit.
authorCarl Hetherington <carl@carlh.net>
Thu, 26 Aug 2010 02:34:45 +0000 (02:34 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 26 Aug 2010 02:34:45 +0000 (02:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@7695 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor.cc
gtk2_ardour/region_layering_order_editor.cc

index 816217cf0b7fbe20f9c158745f2d4f0239125377..b153967cd38470c5177c4a4705eeba7813028f47 100644 (file)
@@ -2017,7 +2017,7 @@ Editor::add_region_context_items (StreamView* sv, list<boost::shared_ptr<Region>
 
        edit_items.push_back (MenuElem (menu_item_name, *region_menu));
        if (multiple_regions_at_position && (layering_order_editor == 0 || !layering_order_editor->is_visible ())) {
-               edit_items.push_back (MenuElem (_("Choose Top Region"), (bind (mem_fun(*this, &Editor::change_region_layering_order), position))));
+               edit_items.push_back (MenuElem (_("Choose Top Region..."), (bind (mem_fun(*this, &Editor::change_region_layering_order), position))));
        }
        edit_items.push_back (SeparatorElem());
 }
index 2f6963d7b7f77dcc00f0ae8e11bb0e5f8d3f6e4c..f6bc74a6ffb1760ea708698c2b7a78e977aa7a68 100644 (file)
@@ -36,50 +36,37 @@ RegionLayeringOrderEditor::RegionLayeringOrderEditor (PublicEditor& pe)
        layering_order_display.set_reorderable (false);
        layering_order_display.set_rules_hint (true);
 
-       scroller.set_border_width (10);
        scroller.set_policy (Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
        scroller.add (layering_order_display);
 
        clock.set_mode (AudioClock::BBT);
 
-
         Gtk::Table* scroller_table = manage (new Gtk::Table);
         scroller_table->set_size_request (300, 250);
         scroller_table->attach (scroller, 0, 1, 0, 1);
         scroller_table->set_col_spacings (5);
         scroller_table->set_row_spacings (5);
-        scroller_table->set_border_width (5);
   
         track_label.set_name ("RegionLayeringOrderEditorLabel");
         track_label.set_text (_("Track:"));
+       track_label.set_alignment (0, 0.5);
         clock_label.set_name ("RegionLayeringOrderEditorLabel");
         clock_label.set_text (_("Position:"));
+       clock_label.set_alignment (0, 0.5);
         track_name_label.set_name ("RegionLayeringOrderEditorNameLabel");
+       track_name_label.set_alignment (0, 0.5);
         clock.set_mode (AudioClock::BBT);
   
-        Gtk::Alignment* track_alignment = manage (new Gtk::Alignment);
-        track_alignment->set (1.0, 0.5);
-        track_alignment->add (track_label);
-  
-        Gtk::Alignment* clock_alignment = manage (new Gtk::Alignment);
-        clock_alignment->set (1.0, 0.5);
-        clock_alignment->add (clock_label);
-  
         Gtk::Table* info_table = manage (new Gtk::Table (2, 2));
         info_table->set_col_spacings (5);
         info_table->set_row_spacings (5);
-        info_table->set_border_width (5);
-        info_table->attach (*track_alignment, 0, 1, 0, 1, FILL, FILL);
+        info_table->attach (track_label, 0, 1, 0, 1, FILL, FILL);
         info_table->attach (track_name_label, 1, 2, 0, 1, FILL, FILL);
-        info_table->attach (*clock_alignment, 0, 1, 1, 2, FILL, FILL);
+        info_table->attach (clock_label, 0, 1, 1, 2, FILL, FILL);
         info_table->attach (clock, 1, 2, 1, 2, FILL, FILL);
  
-        HBox* info_hbox = manage (new HBox);
-        info_hbox->pack_start (*info_table, true, false);
-        get_vbox()->set_spacing (5);
-        get_vbox()->pack_start (*info_hbox, false, false);
+        get_vbox()->set_spacing (12);
+        get_vbox()->pack_start (*info_table, false, false);
         get_vbox()->pack_start (*scroller_table, true, true);
  
         info_table->set_name ("RegionLayeringOrderTable");