[Xfce4-commits] [panel-plugins/xfce4-sample-plugin] 04/13: GTK_DIALOG_NO_SEPARATOR was removed

noreply at xfce.org noreply at xfce.org
Sun Apr 30 20:29:08 CEST 2017


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

skunnyk pushed a commit to branch master
in repository panel-plugins/xfce4-sample-plugin.

commit ae396f8d024e434b2fd0f485540627139c7feee5
Author: Romain B <skunnyk at alteroot.org>
Date:   Wed May 4 21:49:42 2016 +0200

    GTK_DIALOG_NO_SEPARATOR was removed
    
    Use "gtk-close" instead of GTK_STOCK_CLOSE
    Use "help-browser" instead of GTK_STOCK_HELP
---
 panel-plugin/sample-dialogs.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/sample-dialogs.c b/panel-plugin/sample-dialogs.c
index 9b89e0f..de46d1c 100644
--- a/panel-plugin/sample-dialogs.c
+++ b/panel-plugin/sample-dialogs.c
@@ -80,9 +80,9 @@ sample_configure (XfcePanelPlugin *plugin,
   /* create the dialog */
   dialog = xfce_titled_dialog_new_with_buttons (_("Sample Plugin"),
                                                 GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
-                                                GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_NO_SEPARATOR,
-                                                GTK_STOCK_HELP, GTK_RESPONSE_HELP,
-                                                GTK_STOCK_CLOSE, GTK_RESPONSE_OK,
+                                                GTK_DIALOG_DESTROY_WITH_PARENT,
+                                                "help-browser", GTK_RESPONSE_HELP,
+                                                "gtk-close", GTK_RESPONSE_OK,
                                                 NULL);
 
   /* center dialog on the screen */

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


More information about the Xfce4-commits mailing list