[gedit/wip/redesign: 9/9] Minor cleanup
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/redesign: 9/9] Minor cleanup
- Date: Mon, 6 May 2013 12:30:57 +0000 (UTC)
commit 34a99212962966861ea14ec82d479e1febd9cd7a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon May 6 13:28:35 2013 +0200
Minor cleanup
gedit/gedit-window.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index d59993c..68f1f8c 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -1121,7 +1121,7 @@ set_non_homogeneus (GtkWidget *widget,
}
static void
-setup_toolbar_open_button (GeditWindow *window)
+setup_headerbar_open_button (GeditWindow *window)
{
GtkMenu *recent_menu;
@@ -1243,8 +1243,6 @@ create_menu_bar_and_toolbar (GeditWindow *window)
#else
gtk_toolbar_unset_style (GTK_TOOLBAR (window->priv->toolbar));
#endif
- setup_toolbar_open_button (window);
-
gtk_container_foreach (GTK_CONTAINER (window->priv->toolbar),
(GtkCallback)set_non_homogeneus,
NULL);
@@ -3495,6 +3493,8 @@ gedit_window_init (GeditWindow *window)
// FIXME: kill this, right now it is just not added to the window
create_menu_bar_and_toolbar (window);
+ setup_headerbar_open_button (window);
+
/* Setup status bar */
setup_statusbar (window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]