Commit d688394f authored by Paolo Borelli's avatar Paolo Borelli

Revert "filebrowser: set toolbar style as primary"

This reverts commit a76e832e.
It was a test to see how it looks, but having two primary toolbars near
each other does not look very good.
parent f6c5aa57
......@@ -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 ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment