[Xfce4-commits] [panel-plugins/xfce4-systemload-plugin] 07/16: GTK_DIALOG_NO_SEPARATOR was removed, and use "gtk-close" instead of GTK_STOCK_CLOSE

noreply at xfce.org noreply at xfce.org
Fri Apr 29 16:07:24 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-systemload-plugin.

commit 3e563aeb4273f69a4ba4ce199a94c36c0c767af1
Author: Landry Breuil <landry at xfce.org>
Date:   Fri Apr 29 11:13:29 2016 +0200

    GTK_DIALOG_NO_SEPARATOR was removed, and use "gtk-close" instead of GTK_STOCK_CLOSE
    
    Plugin now builds with Gtk3 - lots of deprecated widgets to fix still
---
 panel-plugin/systemload.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c
index 4c82c19..d9da947 100644
--- a/panel-plugin/systemload.c
+++ b/panel-plugin/systemload.c
@@ -849,9 +849,8 @@ monitor_create_options(XfcePanelPlugin *plugin, t_global_monitor *global)
     
     dlg = xfce_titled_dialog_new_with_buttons (_("System Load Monitor"), 
                      GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
-                                               GTK_DIALOG_DESTROY_WITH_PARENT |
-                                               GTK_DIALOG_NO_SEPARATOR,
-                                               GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
+                                               GTK_DIALOG_DESTROY_WITH_PARENT,
+                                               "gtk-close", GTK_RESPONSE_OK,
                                                NULL);
     
     g_signal_connect (G_OBJECT (dlg), "response",

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


More information about the Xfce4-commits mailing list