[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Replace GtkStock buttons

noreply at xfce.org noreply at xfce.org
Fri Aug 2 05:33:27 CEST 2019


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-power-manager.

commit 317a42cb919ba259f8855b589cf408812f2fda2e
Author: Andre Miranda <andreldm at xfce.org>
Date:   Fri Aug 2 00:33:20 2019 -0300

    Replace GtkStock buttons
---
 .../power-manager-plugin/xfce/xfce-power-manager-plugin.c   | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c b/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c
index 994d9fd..3c6a2bc 100644
--- a/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c
+++ b/panel-plugins/power-manager-plugin/xfce/xfce-power-manager-plugin.c
@@ -155,12 +155,13 @@ power_manager_plugin_configure (XfcePanelPlugin      *plugin,
   xfce_panel_plugin_block_menu (plugin);
 
   /* create the dialog */
-  dialog = xfce_titled_dialog_new_with_buttons (_("Power Manager Plugin Settings"),
-                                                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);
+  dialog = xfce_titled_dialog_new_with_mixed_buttons (_("Power Manager Plugin Settings"),
+    GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (plugin))),
+    GTK_DIALOG_DESTROY_WITH_PARENT,
+    "help-browser", _("_Help"), GTK_RESPONSE_HELP,
+    "window-close", _("_Close"), GTK_RESPONSE_OK,
+    NULL);
+
   gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
   gtk_window_set_icon_name (GTK_WINDOW (dialog), "xfce4-power-manager-settings");
   gtk_widget_show (dialog);

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


More information about the Xfce4-commits mailing list