[Xfce4-commits] [panel-plugins/xfce4-netload-plugin] 07/27: Remove GTK_DIALOG_NO_SEPARATOR usage, use 'gtk-close'

noreply at xfce.org noreply at xfce.org
Sat May 14 15:53:57 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-netload-plugin.

commit 09c4ce577e6648585d4aaa8a9661ff7aa4743b3e
Author: Skunnyk <skunnyk at alteroot.org>
Date:   Tue May 3 16:07:26 2016 +0200

    Remove GTK_DIALOG_NO_SEPARATOR usage, use 'gtk-close'
---
 panel-plugin/netload.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/netload.c b/panel-plugin/netload.c
index 49dcdee..003d85f 100644
--- a/panel-plugin/netload.c
+++ b/panel-plugin/netload.c
@@ -986,8 +986,8 @@ static void monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *gl
     xfce_panel_plugin_block_menu (plugin);
     
     dlg = xfce_titled_dialog_new_with_buttons (_("Network Monitor"), NULL,
-                                               GTK_DIALOG_NO_SEPARATOR,
-                                               GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
+                                               GTK_DIALOG_DESTROY_WITH_PARENT,
+                                               "gtk-close", GTK_RESPONSE_OK,
                                                NULL);
     
     gtk_window_set_icon_name (GTK_WINDOW (dlg), "xfce4-settings");

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


More information about the Xfce4-commits mailing list