summaryrefslogtreecommitdiff
path: root/battstat/battstat_applet.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-03 18:03:50 +0100
committerraveit65 <[email protected]>2018-02-09 16:17:56 +0100
commit607d5228f3a280dd8acfcdaba7da7c83c496de32 (patch)
tree26f39957ef1935326935565892b98e4640ee9603 /battstat/battstat_applet.c
parent94618cb836c3213e28c3d75fc6bc458bf6cd59b3 (diff)
downloadmate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.bz2
mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'battstat/battstat_applet.c')
-rw-r--r--battstat/battstat_applet.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/battstat/battstat_applet.c b/battstat/battstat_applet.c
index 71e3c76a..2a550fab 100644
--- a/battstat/battstat_applet.c
+++ b/battstat/battstat_applet.c
@@ -58,13 +58,13 @@ static void about_cb( GtkAction *, ProgressData * );
static void help_cb( GtkAction *, ProgressData * );
static const GtkActionEntry battstat_menu_actions [] = {
- { "BattstatProperties", GTK_STOCK_PROPERTIES, N_("_Preferences"),
+ { "BattstatProperties", "document-properties", N_("_Preferences"),
NULL, NULL,
G_CALLBACK (prop_cb) },
- { "BattstatHelp", GTK_STOCK_HELP, N_("_Help"),
+ { "BattstatHelp", "help-browser", N_("_Help"),
NULL, NULL,
G_CALLBACK (help_cb) },
- { "BattstatAbout", GTK_STOCK_ABOUT, N_("_About"),
+ { "BattstatAbout", "help-about", N_("_About"),
NULL, NULL,
G_CALLBACK (about_cb) }
};
@@ -438,7 +438,7 @@ battery_full_dialog (GtkWidget *applet)
_("Battery Notice"),
NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_OK,
+ "gtk-ok",
GTK_RESPONSE_ACCEPT,
NULL);
g_signal_connect_swapped (G_OBJECT (dialog), "response",
@@ -593,7 +593,7 @@ battery_low_dialog( ProgressData *battery, BatteryStatus *info )
_("Battery Notice"),
NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_OK,
+ "gtk-ok",
GTK_RESPONSE_ACCEPT,
NULL);
gtk_dialog_set_default_response( GTK_DIALOG (battery->battery_low_dialog),