aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Harvey <peter.a.harvey@gmail.com>2006-01-26 05:45:03 +0800
committerPeter Anthony Harvey <paharvey@src.gnome.org>2006-01-26 05:45:03 +0800
commit48828a1977fc21c6fc6d03fa6003a081bf14b017 (patch)
treee5b03efa347c8153c9970ca952110b5b6d465a6d /src
parent40b41c97b0ab8909c67a2f2176b9549bb1cb9e8d (diff)
downloadgsoc2013-epiphany-48828a1977fc21c6fc6d03fa6003a081bf14b017.tar
gsoc2013-epiphany-48828a1977fc21c6fc6d03fa6003a081bf14b017.tar.gz
gsoc2013-epiphany-48828a1977fc21c6fc6d03fa6003a081bf14b017.tar.bz2
gsoc2013-epiphany-48828a1977fc21c6fc6d03fa6003a081bf14b017.tar.lz
gsoc2013-epiphany-48828a1977fc21c6fc6d03fa6003a081bf14b017.tar.xz
gsoc2013-epiphany-48828a1977fc21c6fc6d03fa6003a081bf14b017.tar.zst
gsoc2013-epiphany-48828a1977fc21c6fc6d03fa6003a081bf14b017.zip
src/bookmarks/ephy-bookmarks-ui.c
2006-01-22 Peter Harvey <peter.a.harvey@gmail.com> * src/bookmarks/ephy-bookmarks-ui.c Reverted change which made 'add bookmark' and 'edit bookmark' use-cases have exactly the same dialog.
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-ui.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/bookmarks/ephy-bookmarks-ui.c b/src/bookmarks/ephy-bookmarks-ui.c
index ce9e511b4..0449606b8 100644
--- a/src/bookmarks/ephy-bookmarks-ui.c
+++ b/src/bookmarks/ephy-bookmarks-ui.c
@@ -424,6 +424,7 @@ add_bookmark (const char *location,
{
EphyBookmarks *bookmarks;
EphyNode *bookmark;
+ GtkWidget *dialog;
bookmarks = ephy_shell_get_bookmarks (ephy_shell_get_default ());
bookmark = ephy_bookmarks_add (bookmarks, title, location);
@@ -432,8 +433,16 @@ add_bookmark (const char *location,
{
properties_dialogs = g_hash_table_new (g_direct_hash, g_direct_equal);
}
-
- ephy_bookmarks_ui_show_bookmark (bookmark);
+
+ dialog = ephy_bookmark_properties_new (bookmarks, bookmark, TRUE);
+
+ g_signal_connect (dialog, "destroy",
+ G_CALLBACK (properties_dialog_destroy_cb), bookmarks);
+ g_hash_table_insert (properties_dialogs,
+ bookmark, dialog);
+
+ gtk_window_present_with_time (GTK_WINDOW (dialog),
+ gtk_get_current_event_time ());
}
static void