aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-09-01 20:49:20 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-09-01 20:49:20 +0800
commit31d3aa82e78f99f41019feb539c36c09bc0efe55 (patch)
tree0163cbc4ed3b566165db0c8f39aad905e03273d8 /src/ephy-window.c
parentc91ff321c1ba587317e022e9bb13e1d28857dee7 (diff)
downloadgsoc2013-epiphany-31d3aa82e78f99f41019feb539c36c09bc0efe55.tar
gsoc2013-epiphany-31d3aa82e78f99f41019feb539c36c09bc0efe55.tar.gz
gsoc2013-epiphany-31d3aa82e78f99f41019feb539c36c09bc0efe55.tar.bz2
gsoc2013-epiphany-31d3aa82e78f99f41019feb539c36c09bc0efe55.tar.lz
gsoc2013-epiphany-31d3aa82e78f99f41019feb539c36c09bc0efe55.tar.xz
gsoc2013-epiphany-31d3aa82e78f99f41019feb539c36c09bc0efe55.tar.zst
gsoc2013-epiphany-31d3aa82e78f99f41019feb539c36c09bc0efe55.zip
Readd is_important and ensure_update, gtk now support them.
2003-09-01 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_clean): * src/ephy-favorites-menu.c: (ephy_favorites_menu_clean): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-window.c: (setup_window): * src/toolbar.c: (toolbar_setup_actions): Readd is_important and ensure_update, gtk now support them.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 779fb46c8..412ce79e9 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -615,14 +615,12 @@ setup_window (EphyWindow *window)
action = gtk_action_group_get_action (action_group, "GoBookmarks");
g_object_set (action, "short_label", _("Bookmarks"), NULL);
-/*
action = gtk_action_group_get_action (action_group, "EditFind");
- g_object_set (action, "important", TRUE, NULL);
+ g_object_set (action, "is_important", TRUE, NULL);
action = gtk_action_group_get_action (action_group, "GoHome");
- g_object_set (action, "important", TRUE, NULL);
+ g_object_set (action, "is_important", TRUE, NULL);
action = gtk_action_group_get_action (action_group, "GoBookmarks");
- g_object_set (action, "important", TRUE, NULL);
-*/
+ g_object_set (action, "is_important", TRUE, NULL);
action_group = gtk_action_group_new ("PopupsActions");
gtk_action_group_add_actions (action_group, ephy_popups_entries,
@@ -643,9 +641,7 @@ setup_window (EphyWindow *window)
g_clear_error (&err);
}
- /* FIXME trick to force update */
- gtk_ui_manager_get_widget (GTK_UI_MANAGER (window->ui_merge),
- "/menubar");
+ gtk_ui_manager_ensure_update (GTK_UI_MANAGER (window->ui_merge));
window->priv->toolbar = toolbar_new (window);
gtk_widget_show (GTK_WIDGET (window->priv->toolbar));