[Xfce4-commits] [panel-plugins/xfce4-datetime-plugin] 08/17: GTK_DIALOG_NO_SEPARATOR was removed, and use "gtk-close"/"gtk-help" instead of GTK_STOCK_CLOSE/GTK_STOCK_HELP
noreply at xfce.org
noreply at xfce.org
Sun May 1 11:46:26 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-datetime-plugin.
commit d49f8d0dfd6c3b14e971e0de1e1350ebba8b86de
Author: Landry Breuil <landry at xfce.org>
Date: Sun May 1 11:29:02 2016 +0200
GTK_DIALOG_NO_SEPARATOR was removed, and use "gtk-close"/"gtk-help" instead of GTK_STOCK_CLOSE/GTK_STOCK_HELP
---
panel-plugin/datetime-dialog.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/panel-plugin/datetime-dialog.c b/panel-plugin/datetime-dialog.c
index fdb8c15..15c1489 100644
--- a/panel-plugin/datetime-dialog.c
+++ b/panel-plugin/datetime-dialog.c
@@ -347,10 +347,10 @@ datetime_properties_dialog(XfcePanelPlugin *plugin, t_datetime * datetime)
xfce_textdomain (GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
dlg = xfce_titled_dialog_new_with_buttons(_("Datetime"),
- NULL, /* or: 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_WINDOW(gtk_widget_get_toplevel(GTK_WIDGET(plugin))),
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ "gtk-help", GTK_RESPONSE_HELP,
+ "gtk-close", GTK_RESPONSE_OK,
NULL);
g_object_set_data(G_OBJECT(plugin), "dialog", dlg);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list