[gedit/gnome-3-0] Revert "filebrowser: set toolbar style as primary"
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/gnome-3-0] Revert "filebrowser: set toolbar style as primary"
- Date: Sat, 18 Jun 2011 17:43:54 +0000 (UTC)
commit d688394f6cc3e6c0d3ff1e7d1c638b53ea370018
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 734603c..57161b0 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]