Make Dropdown menus at least as wide as the button
[ardour.git] / gtk2_ardour / rhythm_ferret.cc
index 964418843de6b37b04a50fedfe42ec92962d0c07..4d39232d8c734f713d8eb97394470acabc43683a 100644 (file)
@@ -33,7 +33,7 @@
 #include "editor.h"
 #include "time_axis_view.h"
 
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace Gtk;
@@ -377,6 +377,8 @@ RhythmFerret::do_split_action ()
                return;
        }
 
+       editor.EditorFreeze(); /* Emit signal */
+
        editor.begin_reversible_command (_("split regions (rhythm ferret)"));
 
        /* Merge the transient positions for regions in consideration */
@@ -407,6 +409,8 @@ RhythmFerret::do_split_action ()
        }
 
        editor.commit_reversible_command ();
+
+       editor.EditorThaw(); /* Emit signal */
 }
 
 void