diff options
Diffstat (limited to 'src/bookmarks/ephy-bookmark-properties.c')
-rw-r--r-- | src/bookmarks/ephy-bookmark-properties.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/bookmarks/ephy-bookmark-properties.c b/src/bookmarks/ephy-bookmark-properties.c index fcf1cd23e..0d1cb0c94 100644 --- a/src/bookmarks/ephy-bookmark-properties.c +++ b/src/bookmarks/ephy-bookmark-properties.c @@ -386,7 +386,8 @@ ephy_bookmark_properties_init (EphyBookmarkProperties *editor) GtkWidget * ephy_bookmark_properties_new (EphyBookmarks *bookmarks, - EphyNode *bookmark) + EphyNode *bookmark, + GtkWindow *parent_window) { EphyBookmarkProperties *editor; @@ -398,7 +399,11 @@ ephy_bookmark_properties_new (EphyBookmarks *bookmarks, "bookmark", bookmark, NULL)); - build_ui (editor); - + build_ui (editor); + + if (parent_window) + { + gtk_window_set_transient_for (GTK_WINDOW (editor), parent_window); + } return GTK_WIDGET (editor); } |