diff options
author | Peter Harvey <peter.a.harvey@gmail.com> | 2006-01-29 06:14:02 +0800 |
---|---|---|
committer | Peter Anthony Harvey <paharvey@src.gnome.org> | 2006-01-29 06:14:02 +0800 |
commit | 811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a (patch) | |
tree | c1b331413964754380f4ca45a6755c7a3daf8a85 /src/bookmarks/ephy-bookmarks-ui.c | |
parent | 37a127559b9b67bd7b163177ced72539512c319c (diff) | |
download | gsoc2013-epiphany-811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a.tar gsoc2013-epiphany-811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a.tar.gz gsoc2013-epiphany-811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a.tar.bz2 gsoc2013-epiphany-811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a.tar.lz gsoc2013-epiphany-811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a.tar.xz gsoc2013-epiphany-811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a.tar.zst gsoc2013-epiphany-811f68e7ed17fd4d4fcd620c3b9d1a543b376a9a.zip |
src/bookmarks/ephy-bookmark-properties.c src/bookmarks/ephy-topics-entry.c
2006-01-29 Peter Harvey <peter.a.harvey@gmail.com>
* src/bookmarks/ephy-bookmark-properties.c
* src/bookmarks/ephy-topics-entry.c
* src/bookmarks/ephy-topics-entry.h
* src/bookmarks/Makefile.am
* po/POTFILES.in
Ongoing Saga Of The Bookmark Properties Dialog.
Dialog is now much more compact, using a text entry by
default and offering the palette when desired.
* src/bookmarks/ephy-topics-palette.c
Simplified code and made more usable.
Removed the header from the last patch as well.
* src/bookmarks/ephy-bookmarks-ui.c
'Add bookmark' dialogs were not correctly removed from the
hashtable.
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-ui.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-ui.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/bookmarks/ephy-bookmarks-ui.c b/src/bookmarks/ephy-bookmarks-ui.c index 63f6d9df1..f560e1f56 100644 --- a/src/bookmarks/ephy-bookmarks-ui.c +++ b/src/bookmarks/ephy-bookmarks-ui.c @@ -412,10 +412,9 @@ ephy_bookmarks_ui_detach_window (EphyWindow *window) static void properties_dialog_destroy_cb (EphyBookmarkProperties *dialog, - gpointer user_data) + EphyNode *bookmark) { - g_hash_table_remove (properties_dialogs, - ephy_bookmark_properties_get_node (dialog)); + g_hash_table_remove (properties_dialogs, bookmark); } void @@ -437,7 +436,7 @@ ephy_bookmarks_ui_add_bookmark (const char *location, dialog = ephy_bookmark_properties_new (bookmarks, bookmark, TRUE); g_signal_connect (dialog, "destroy", - G_CALLBACK (properties_dialog_destroy_cb), bookmarks); + G_CALLBACK (properties_dialog_destroy_cb), bookmark); g_hash_table_insert (properties_dialogs, bookmark, dialog); @@ -661,7 +660,7 @@ ephy_bookmarks_ui_show_bookmark (EphyNode *bookmark) dialog = ephy_bookmark_properties_new (bookmarks, bookmark, FALSE); g_signal_connect (dialog, "destroy", - G_CALLBACK (properties_dialog_destroy_cb), bookmarks); + G_CALLBACK (properties_dialog_destroy_cb), bookmark); g_hash_table_insert (properties_dialogs, bookmark, dialog); } |