Properly revert FormatSpec changes on "cancel"
[ardour.git] / gtk2_ardour / ardour_ui_dependents.cc
index 0918e69538b386fe8c485ca96997ea579bdec310..ab2c3a9ef8f4f15d98728ac8ae5964c3642c675e 100644 (file)
@@ -280,14 +280,19 @@ ARDOUR_UI::setup_windows ()
 
        main_vpacker.pack_start (top_packer, false, false);
 
+       ArdourWidgets::ArdourDropShadow *spacer = manage (new (ArdourWidgets::ArdourDropShadow));
+       spacer->set_size_request( -1, 4 );
+       spacer->show();
+
        /* now add the transport sample to the top of main window */
 
+       main_vpacker.pack_start ( *spacer, false, false);
        main_vpacker.pack_start (transport_frame, false, false);
        main_vpacker.pack_start (_tabs, true, true);
 
        LuaInstance::instance()->ActionChanged.connect (sigc::mem_fun (*this, &ARDOUR_UI::update_action_script_btn));
 
-       for (int i = 0; i < 9; ++i) {
+       for (int i = 0; i < MAX_LUA_ACTION_SCRIPTS; ++i) {
                std::string const a = string_compose (X_("script-action-%1"), i + 1);
                Glib::RefPtr<Action> act = ActionManager::get_action(X_("Editor"), a.c_str());
                assert (act);