another minor fix for gtkmm breakage with Gtk::Settings::get_default() in not-entirel...
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 30 Jul 2007 23:08:06 +0000 (23:08 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 30 Jul 2007 23:08:06 +0000 (23:08 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2191 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/plugin_selector.cc
libs/gtkmm2ext/gtk_ui.cc

index 36043448317f1151d4650537c68faeb891e48ed5..82fb9c03933a45ca35c2786c2ab592ffaddf9926 100644 (file)
@@ -168,9 +168,9 @@ PluginSelector::PluginSelector (PluginManager *mgr)
 
        table->attach (*filter_box, 0, 7, 5, 6, FILL|EXPAND, FILL, 5, 5);
 
-       table->attach(*btn_add, 1, 2, 6, 7, FILL, FILL, 5, 5);
+       table->attach(*btn_add, 1, 2, 6, 7, FILL, FILL, 5, 5); 
        table->attach(*btn_remove, 3, 4, 6, 7, FILL, FILL, 5, 5);
-       table->attach(*btn_update, 5, 6, 7, 7, FILL, FILL, 5, 5);
+       table->attach(*btn_update, 5, 6, 7, 8, FILL, FILL, 5, 5);
 
        table->attach(ascroller, 0, 7, 8, 10);
 
index 3ac8e905d1c68d8efdcc4a4dce98ab0de3d1da11..cf755873fd07815c645007bbf47ea264c357a3fa 100644 (file)
@@ -129,7 +129,8 @@ UI::load_rcfile (string path, bool themechange)
        }
        
        RC rc (path.c_str());
-       RC::reset_styles(Gtk::Settings::get_default());
+       // RC::reset_styles (Gtk::Settings::get_default());
+       gtk_rc_reset_styles (gtk_settings_get_default());
        theme_changed.emit();
 
        if (themechange) {