diff options
author | Pablo Barciela <[email protected]> | 2018-02-03 18:03:50 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-09 16:17:56 +0100 |
commit | 607d5228f3a280dd8acfcdaba7da7c83c496de32 (patch) | |
tree | 26f39957ef1935326935565892b98e4640ee9603 /multiload | |
parent | 94618cb836c3213e28c3d75fc6bc458bf6cd59b3 (diff) | |
download | mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.bz2 mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'multiload')
-rw-r--r-- | multiload/main.c | 8 | ||||
-rw-r--r-- | multiload/properties.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/multiload/main.c b/multiload/main.c index 8ce5b70d..38e8bc78 100644 --- a/multiload/main.c +++ b/multiload/main.c @@ -474,16 +474,16 @@ multiload_applet_refresh(MultiloadApplet *ma) } static const GtkActionEntry multiload_menu_actions [] = { - { "MultiLoadProperties", GTK_STOCK_PROPERTIES, N_("_Preferences"), + { "MultiLoadProperties", "document-properties", N_("_Preferences"), NULL, NULL, G_CALLBACK (multiload_properties_cb) }, - { "MultiLoadRunProcman", GTK_STOCK_EXECUTE, N_("_Open System Monitor"), + { "MultiLoadRunProcman", "system-run", N_("_Open System Monitor"), NULL, NULL, G_CALLBACK (start_procman_cb) }, - { "MultiLoadHelp", GTK_STOCK_HELP, N_("_Help"), + { "MultiLoadHelp", "help-browser", N_("_Help"), NULL, NULL, G_CALLBACK (help_cb) }, - { "MultiLoadAbout", GTK_STOCK_ABOUT, N_("_About"), + { "MultiLoadAbout", "help-about", N_("_About"), NULL, NULL, G_CALLBACK (about_cb) } }; diff --git a/multiload/properties.c b/multiload/properties.c index 9eb8683c..a0feb3ba 100644 --- a/multiload/properties.c +++ b/multiload/properties.c @@ -817,8 +817,8 @@ multiload_properties_cb (GtkAction *action, dialog = gtk_dialog_new_with_buttons (_("System Monitor Preferences"), NULL, 0, - GTK_STOCK_HELP, GTK_RESPONSE_HELP, - GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, + "gtk-help", GTK_RESPONSE_HELP, + "gtk-close", GTK_RESPONSE_CLOSE, NULL); gtk_window_set_screen (GTK_WINDOW (dialog), gtk_widget_get_screen (GTK_WIDGET (ma->applet))); |