[Xfce4-commits] [panel-plugins/xfce4-smartbookmark-plugin] 11/11: properly give a parent to the option dialog

noreply at xfce.org noreply at xfce.org
Thu Apr 28 11:51:09 CEST 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-smartbookmark-plugin.

commit 64eec93e0cfc3beb969b36011567ebd3401dfee3
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Apr 28 11:50:25 2016 +0200

    properly give a parent to the option dialog
---
 src/smartbookmark.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/smartbookmark.c b/src/smartbookmark.c
index b466a06..466fd6c 100644
--- a/src/smartbookmark.c
+++ b/src/smartbookmark.c
@@ -255,7 +255,8 @@ static void search_create_options(XfcePanelPlugin *plugin, t_search *search)
     GtkWidget *urllabel, *textlabel, *sizelabel;
     DBG ("search_create_options");
     search->opt_dialog  = xfce_titled_dialog_new_with_buttons(_("Smartbookmark"),
-                                             NULL, 0,
+                                             GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
+                                             GTK_DIALOG_DESTROY_WITH_PARENT,
                                              "gtk-close", GTK_RESPONSE_OK,
                                              NULL);
     

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list