[gedit] Revert "filebrowser: set toolbar style as primary"



commit 9cfe463fba7f8786ee9e74a820ac38ade4de8375
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Jun 18 18:49:19 2011 +0200

    Revert "filebrowser: set toolbar style as primary"
    
    This reverts commit a76e832ea66e26a93a603af29da389b07e41659c.
    It was a test to see how it looks, but having two primary toolbars near
    each other does not look very good.

 plugins/filebrowser/gedit-file-browser-widget.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plugins/filebrowser/gedit-file-browser-widget.c b/plugins/filebrowser/gedit-file-browser-widget.c
index 25a7163..747fb73 100644
--- a/plugins/filebrowser/gedit-file-browser-widget.c
+++ b/plugins/filebrowser/gedit-file-browser-widget.c
@@ -911,7 +911,6 @@ create_toolbar (GeditFileBrowserWidget *obj,
 	GtkActionGroup *action_group;
 	GtkWidget *toolbar;
 	GtkWidget *widget;
-	GtkStyleContext *context;
 	GtkAction *action;
 	gchar *ui_file;
 
@@ -1017,8 +1016,6 @@ create_toolbar (GeditFileBrowserWidget *obj,
 	toolbar = gtk_ui_manager_get_widget (manager, "/ToolBar");
 	gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_ICONS);
 	gtk_toolbar_set_icon_size (GTK_TOOLBAR (toolbar), GTK_ICON_SIZE_MENU);
-	context = gtk_widget_get_style_context (toolbar);
-	gtk_style_context_add_class (context, GTK_STYLE_CLASS_PRIMARY_TOOLBAR);
 
 	/* Previous directory menu tool item */
 	obj->priv->location_previous_menu = gtk_menu_new ();



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