aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favorites-menu.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-02-01 03:26:37 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-02-01 03:26:37 +0800
commit7423fae667b40119604f2376a0bc2cc14701bbe5 (patch)
treea0c0025a9c4929bafb72cdeb7dccaa44e071c7e7 /src/ephy-favorites-menu.c
parent69f9268e0676daa1d8a358d568355f73665c4f2d (diff)
downloadgsoc2013-epiphany-7423fae667b40119604f2376a0bc2cc14701bbe5.tar
gsoc2013-epiphany-7423fae667b40119604f2376a0bc2cc14701bbe5.tar.gz
gsoc2013-epiphany-7423fae667b40119604f2376a0bc2cc14701bbe5.tar.bz2
gsoc2013-epiphany-7423fae667b40119604f2376a0bc2cc14701bbe5.tar.lz
gsoc2013-epiphany-7423fae667b40119604f2376a0bc2cc14701bbe5.tar.xz
gsoc2013-epiphany-7423fae667b40119604f2376a0bc2cc14701bbe5.tar.zst
gsoc2013-epiphany-7423fae667b40119604f2376a0bc2cc14701bbe5.zip
Make favorites really work and avoid they crash when closing window, 0.5
2003-01-31 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-types.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/ephy-favorites-menu.c: (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild): Make favorites really work and avoid they crash when closing window, 0.5 is nearer now :)
Diffstat (limited to 'src/ephy-favorites-menu.c')
-rw-r--r--src/ephy-favorites-menu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-favorites-menu.c b/src/ephy-favorites-menu.c
index c8be1e816..ae4cff59f 100644
--- a/src/ephy-favorites-menu.c
+++ b/src/ephy-favorites-menu.c
@@ -123,6 +123,7 @@ ephy_favorites_menu_clean (EphyFavoritesMenu *wrhm)
if (p->ui_id >= 0)
{
egg_menu_merge_remove_ui (merge, p->ui_id);
+ egg_menu_merge_ensure_update (merge);
}
if (p->action_group != NULL)
@@ -279,7 +280,7 @@ ephy_favorites_menu_rebuild (EphyFavoritesMenu *wrhm)
if (children->len > 0)
{
GError *error = NULL;
-
+ LOG ("Merging ui\n%s",xml->str);
p->ui_id = egg_menu_merge_add_ui_from_string
(merge, xml->str, -1, &error);
}