[anjuta] Use GTK_STYLE_CLASS_INLINE_TOOLBAR instead of "inline-toolbar".



commit 21785afe2113afe658b255cd17dc460923de38cd
Author: Christian Hergert <chris dronelabs com>
Date:   Fri Mar 25 13:03:29 2011 -0700

    Use GTK_STYLE_CLASS_INLINE_TOOLBAR instead of "inline-toolbar".
    
    Quick fix for a poor attempt at a quick patch. Should have fixed
    this earlier.
    
    Signed-off-by: Christian Hergert <chris dronelabs com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=645659

 libanjuta/anjuta-plugin-manager.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libanjuta/anjuta-plugin-manager.c b/libanjuta/anjuta-plugin-manager.c
index c8d67b4..90aae95 100644
--- a/libanjuta/anjuta-plugin-manager.c
+++ b/libanjuta/anjuta-plugin-manager.c
@@ -1164,7 +1164,7 @@ anjuta_plugin_manager_get_plugins_page (AnjutaPluginManager *plugin_manager)
 	gtk_box_pack_start (GTK_BOX (vbox), scrolled, TRUE, TRUE, 0);
 
 	toolbar = gtk_toolbar_new ();
-	gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), "inline-toolbar");
+	gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), GTK_STYLE_CLASS_INLINE_TOOLBAR);
 	gtk_style_context_set_junction_sides (gtk_widget_get_style_context (toolbar), GTK_JUNCTION_TOP);
 	gtk_box_pack_start (GTK_BOX (vbox), toolbar, FALSE, FALSE, 0);
 	gtk_widget_show (toolbar);
@@ -1174,7 +1174,6 @@ anjuta_plugin_manager_get_plugins_page (AnjutaPluginManager *plugin_manager)
 	gtk_widget_show (toolitem);
 
 	checkbutton = gtk_check_button_new_with_label (dgettext (GETTEXT_PACKAGE, "Only show user activatable plugins"));
-	gtk_style_context_add_class(gtk_widget_get_style_context(checkbutton), "inline-toolbar");
 	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (checkbutton), TRUE);
 	gtk_container_add (GTK_CONTAINER (toolitem), checkbutton);
 	



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]