[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 01/01: Replace GtkStock buttons

noreply at xfce.org noreply at xfce.org
Fri Aug 2 04:18:01 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 panel-plugins/xfce4-battery-plugin.

commit 4a2a4d8f9f6df4910f8a6e9f709de913042ae749
Author: Andre Miranda <andreldm at xfce.org>
Date:   Thu Aug 1 23:17:56 2019 -0300

    Replace GtkStock buttons
---
 panel-plugin/battery.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 9352598..b730274 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -1117,12 +1117,12 @@ battmon_create_options(XfcePanelPlugin *plugin, t_battmon *battmon)
 
     xfce_panel_plugin_block_menu(plugin);
 
-    dlg = xfce_titled_dialog_new_with_buttons(_("Battery Monitor"),
-                                              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);
+    dlg = xfce_titled_dialog_new_with_mixed_buttons(_("Battery Monitor"),
+        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);
 
     xfce_titled_dialog_set_subtitle(XFCE_TITLED_DIALOG(dlg), _("Properties"));
     gtk_window_set_position(GTK_WINDOW(dlg), GTK_WIN_POS_CENTER);

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


More information about the Xfce4-commits mailing list