[Xfce4-commits] [panel-plugins/xfce4-wavelan-plugin] 06/09: GTK_DIALOG_NO_SEPARATOR was removed, and use "gtk-close" instead of GTK_STOCK_CLOSE

noreply at xfce.org noreply at xfce.org
Sun May 1 18:06:19 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-wavelan-plugin.

commit decfe832ed73bc042417ff173e05616583735a5e
Author: Landry Breuil <landry at xfce.org>
Date:   Sun May 1 18:02:52 2016 +0200

    GTK_DIALOG_NO_SEPARATOR was removed, and use "gtk-close" instead of GTK_STOCK_CLOSE
---
 panel-plugin/wavelan.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/wavelan.c b/panel-plugin/wavelan.c
index 7068150..eb4bf1d 100644
--- a/panel-plugin/wavelan.c
+++ b/panel-plugin/wavelan.c
@@ -491,9 +491,9 @@ wavelan_create_options (XfcePanelPlugin *plugin, t_wavelan *wavelan)
   TRACE ("Entered wavelan_create_options");
   
   dlg = xfce_titled_dialog_new_with_buttons (_("Wavelan Plugin Options"),
-              NULL,
-              GTK_DIALOG_NO_SEPARATOR,
-              GTK_STOCK_CLOSE,
+              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