aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 2e2bb9080..a32a33618 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -162,8 +162,10 @@ popup_cmd_bookmark_link (EggAction *action,
(EPHY_NEW_BOOKMARK (new_bookmark), title);
ephy_new_bookmark_set_smarturl
(EPHY_NEW_BOOKMARK (new_bookmark), rel);
- gtk_dialog_run (GTK_DIALOG (new_bookmark));
- gtk_widget_destroy (new_bookmark);
+ g_signal_connect (G_OBJECT (new_bookmark), "response",
+ G_CALLBACK (ephy_new_bookmark_response_cb),
+ NULL);
+ gtk_widget_show (new_bookmark);
}
void