summaryrefslogtreecommitdiff
path: root/netspeed/src
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 /netspeed/src
parent94618cb836c3213e28c3d75fc6bc458bf6cd59b3 (diff)
downloadmate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.bz2
mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'netspeed/src')
-rw-r--r--netspeed/src/netspeed.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/netspeed/src/netspeed.c b/netspeed/src/netspeed.c
index 4ecdae6e..5adbcfa6 100644
--- a/netspeed/src/netspeed.c
+++ b/netspeed/src/netspeed.c
@@ -958,8 +958,8 @@ settings_cb(GtkAction *action, gpointer data)
applet->settings = GTK_DIALOG(gtk_dialog_new_with_buttons(_("Mate Netspeed Preferences"),
NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_HELP, GTK_RESPONSE_HELP,
- GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT,
+ "gtk-help", GTK_RESPONSE_HELP,
+ "gtk-close", GTK_RESPONSE_ACCEPT,
NULL));
gtk_window_set_resizable(GTK_WINDOW(applet->settings), FALSE);
@@ -1166,8 +1166,8 @@ showinfo_cb(GtkAction *action, gpointer data)
applet->details = GTK_DIALOG(gtk_dialog_new_with_buttons(title,
NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_CLOSE, GTK_RESPONSE_ACCEPT,
- GTK_STOCK_HELP, GTK_RESPONSE_HELP,
+ "gtk-close", GTK_RESPONSE_ACCEPT,
+ "gtk-help", GTK_RESPONSE_HELP,
NULL));
g_free(title);
@@ -1340,13 +1340,13 @@ showinfo_cb(GtkAction *action, gpointer data)
}
static const GtkActionEntry mate_netspeed_applet_menu_actions [] = {
- { "MateNetspeedAppletDetails", GTK_STOCK_INFO, N_("Device _Details"),
+ { "MateNetspeedAppletDetails", "dialog-information", N_("Device _Details"),
NULL, NULL, G_CALLBACK (showinfo_cb) },
- { "MateNetspeedAppletProperties", GTK_STOCK_PROPERTIES, N_("Preferences..."),
+ { "MateNetspeedAppletProperties", "document-properties", N_("Preferences..."),
NULL, NULL, G_CALLBACK (settings_cb) },
- { "MateNetspeedAppletHelp", GTK_STOCK_HELP, N_("Help"),
+ { "MateNetspeedAppletHelp", "help-browser", N_("Help"),
NULL, NULL, G_CALLBACK (help_cb) },
- { "MateNetspeedAppletAbout", GTK_STOCK_ABOUT, N_("About..."),
+ { "MateNetspeedAppletAbout", "help-about", N_("About..."),
NULL, NULL, G_CALLBACK (about_cb) }
};