aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmarks.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-04 23:27:13 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-04 23:27:13 +0800
commit96b34afe3a6bffb9cb7a6671403de31644688cce (patch)
tree19394a0f2cbac65bfb8d8da8544199f3604fcec8 /src/bookmarks/ephy-bookmarks.c
parent29bbfe00469fe536bbf0f1025cde834cec3bec0b (diff)
downloadgsoc2013-epiphany-96b34afe3a6bffb9cb7a6671403de31644688cce.tar
gsoc2013-epiphany-96b34afe3a6bffb9cb7a6671403de31644688cce.tar.gz
gsoc2013-epiphany-96b34afe3a6bffb9cb7a6671403de31644688cce.tar.bz2
gsoc2013-epiphany-96b34afe3a6bffb9cb7a6671403de31644688cce.tar.lz
gsoc2013-epiphany-96b34afe3a6bffb9cb7a6671403de31644688cce.tar.xz
gsoc2013-epiphany-96b34afe3a6bffb9cb7a6671403de31644688cce.tar.zst
gsoc2013-epiphany-96b34afe3a6bffb9cb7a6671403de31644688cce.zip
Make sure to rebuild on add bookmark and on topic removal. Update on idle,
2003-06-04 Marco Pesenti Gritti <marco@it.gnome.org> * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_updates), (bookmarks_tree_changed_cb), (ephy_bookmarks_menu_init): * src/bookmarks/ephy-bookmarks.c: (bookmarks_changed_cb), (topics_removed_cb), (ephy_bookmarks_add): Make sure to rebuild on add bookmark and on topic removal. Update on idle, so things like importing bookmarks doesnt take two days. * src/ephy-notebook.c: (notebook_drag_data_received_cb): * src/ephy-shell.c: (ephy_init_services), (load_homepage), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-window.c: (setup_window): * src/session.c: (parse_embed): Drop NOT_JUMP_TO flag, we dont have a pref anymore. On new page instead of really clone the page, just clone the url (put it in the address entry). So if the user need it it's easy to load, but there are not the inacceptable slow downs of real cloning. Let's see how this works ...
Diffstat (limited to 'src/bookmarks/ephy-bookmarks.c')
-rw-r--r--src/bookmarks/ephy-bookmarks.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c
index 86a10d457..801aadc87 100644
--- a/src/bookmarks/ephy-bookmarks.c
+++ b/src/bookmarks/ephy-bookmarks.c
@@ -532,7 +532,6 @@ bookmarks_changed_cb (EphyNode *node,
EphyBookmarks *eb)
{
ephy_bookmarks_emit_data_changed (eb);
- g_signal_emit (G_OBJECT (eb), ephy_bookmarks_signals[TREE_CHANGED], 0);
}
static void
@@ -624,6 +623,8 @@ topics_removed_cb (EphyNode *node,
g_free (list);
}
ephy_node_thaw (child);
+
+ g_signal_emit (G_OBJECT (eb), ephy_bookmarks_signals[TREE_CHANGED], 0);
}
static void
@@ -795,6 +796,7 @@ ephy_bookmarks_add (EphyBookmarks *eb,
ephy_node_add_child (eb->priv->notcategorized, bm);
ephy_bookmarks_emit_data_changed (eb);
+ g_signal_emit (G_OBJECT (eb), ephy_bookmarks_signals[TREE_CHANGED], 0);
return bm;
}