summaryrefslogtreecommitdiff
path: root/src/interface.cpp
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-02-08 17:01:16 +0100
committerraveit65 <[email protected]>2018-02-09 18:30:24 +0100
commit36bcd30e3fb22d3c8c57c968fccfafe0c011e70f (patch)
treef20804d9619474a31ff1661276b12f37467a55e2 /src/interface.cpp
parent77f8101320655020044cde5dfd0cd29bab98f8ce (diff)
downloadmate-system-monitor-36bcd30e3fb22d3c8c57c968fccfafe0c011e70f.tar.bz2
mate-system-monitor-36bcd30e3fb22d3c8c57c968fccfafe0c011e70f.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'src/interface.cpp')
-rw-r--r--src/interface.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index 3bd7ab6..7113e6a 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -53,9 +53,9 @@ static const GtkActionEntry menu_entries[] =
{ "View", NULL, N_("_View") },
{ "Help", NULL, N_("_Help") },
- { "Lsof", GTK_STOCK_FIND, N_("Search for _Open Files"), "<control>O",
+ { "Lsof", "edit-find", N_("Search for _Open Files"), "<control>O",
N_("Search for open files"), G_CALLBACK(cb_show_lsof) },
- { "Quit", GTK_STOCK_QUIT, NULL, NULL,
+ { "Quit", "application-exit", N_("_Quit"), "<control>Q",
N_("Quit the program"), G_CALLBACK (cb_app_exit) },
@@ -70,10 +70,10 @@ static const GtkActionEntry menu_entries[] =
N_("Force process to finish immediately"), G_CALLBACK (cb_kill_process) },
{ "ChangePriority", NULL, N_("_Change Priority"), NULL,
N_("Change the order of priority of process"), NULL },
- { "Preferences", GTK_STOCK_PREFERENCES, NULL, NULL,
+ { "Preferences", "preferences-desktop", N_("_Preferences"), NULL,
N_("Configure the application"), G_CALLBACK (cb_edit_preferences) },
- { "Refresh", GTK_STOCK_REFRESH, N_("_Refresh"), "<control>R",
+ { "Refresh", "view-refresh", N_("_Refresh"), "<control>R",
N_("Refresh the process list"), G_CALLBACK(cb_user_refresh) },
{ "MemoryMaps", NULL, N_("_Memory Maps"), "<control>M",
@@ -85,9 +85,9 @@ static const GtkActionEntry menu_entries[] =
N_("View additional information about a process"), G_CALLBACK (cb_show_process_properties) },
- { "HelpContents", GTK_STOCK_HELP, N_("_Contents"), "F1",
+ { "HelpContents", "help-browser", N_("_Contents"), "F1",
N_("Open the manual"), G_CALLBACK (cb_help_contents) },
- { "About", GTK_STOCK_ABOUT, NULL, NULL,
+ { "About", "help-about", N_("_About"), NULL,
N_("About this application"), G_CALLBACK (cb_about) }
};