diff options
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r-- | src/ephy-window.c | 12 |
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)); |