aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks
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/bookmarks
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/bookmarks')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c2
-rw-r--r--src/bookmarks/ephy-bookmarks-menu.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 42f93777e..60199e983 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -1238,6 +1238,8 @@ ephy_bookmarks_editor_construct (EphyBookmarksEditor *editor)
NULL);
gtk_window_add_accel_group (GTK_WINDOW (editor),
gtk_ui_manager_get_accel_group (ui_merge));
+ gtk_ui_manager_ensure_update (ui_merge);
+
editor->priv->ui_merge = ui_merge;
editor->priv->action_group = action_group;
diff --git a/src/bookmarks/ephy-bookmarks-menu.c b/src/bookmarks/ephy-bookmarks-menu.c
index f2d4a73c4..ecc4344ca 100644
--- a/src/bookmarks/ephy-bookmarks-menu.c
+++ b/src/bookmarks/ephy-bookmarks-menu.c
@@ -97,7 +97,6 @@ ephy_bookmarks_menu_clean (EphyBookmarksMenu *menu)
if (p->ui_id > 0)
{
gtk_ui_manager_remove_ui (merge, p->ui_id);
- /* FIXME gtk_ui_manager_ensure_update (merge); */
p->ui_id = 0;
}