summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-23 20:55:01 +0100
committerlukefromdc <[email protected]>2018-01-25 20:28:18 -0500
commit1f72d441289df987dd7fbb528089f71e719e3c46 (patch)
treeb5635415641d0d865470d7da3d7dd602d8ba28c7 /applets
parent7f99492c269f541c81e4f36742ecc3f0b4ebac04 (diff)
downloadmate-panel-1f72d441289df987dd7fbb528089f71e719e3c46.tar.bz2
mate-panel-1f72d441289df987dd7fbb528089f71e719e3c46.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'applets')
-rw-r--r--applets/clock/clock.c12
-rw-r--r--applets/fish/fish.c8
-rw-r--r--applets/notification_area/main.c4
-rw-r--r--applets/wncklet/showdesktop.c4
-rw-r--r--applets/wncklet/window-list.c6
-rw-r--r--applets/wncklet/window-menu.c4
-rw-r--r--applets/wncklet/workspace-switcher.c6
7 files changed, 22 insertions, 22 deletions
diff --git a/applets/clock/clock.c b/applets/clock/clock.c
index 7c5cc77b..8ba3406a 100644
--- a/applets/clock/clock.c
+++ b/applets/clock/clock.c
@@ -1912,22 +1912,22 @@ config_date (GtkAction *action,
/* current timestamp */
static const GtkActionEntry clock_menu_actions [] = {
- { "ClockPreferences", GTK_STOCK_PROPERTIES, N_("_Preferences"),
+ { "ClockPreferences", "document-properties", N_("_Preferences"),
NULL, NULL,
G_CALLBACK (verb_display_properties_dialog) },
- { "ClockHelp", GTK_STOCK_HELP, N_("_Help"),
+ { "ClockHelp", "help-browser", N_("_Help"),
NULL, NULL,
G_CALLBACK (display_help_dialog) },
- { "ClockAbout", GTK_STOCK_ABOUT, N_("_About"),
+ { "ClockAbout", "help-about", N_("_About"),
NULL, NULL,
G_CALLBACK (display_about_dialog) },
- { "ClockCopyTime", GTK_STOCK_COPY, N_("Copy _Time"),
+ { "ClockCopyTime", "edit-copy", N_("Copy _Time"),
NULL, NULL,
G_CALLBACK (copy_time) },
- { "ClockCopyDate", GTK_STOCK_COPY, N_("Copy _Date"),
+ { "ClockCopyDate", "edit-copy", N_("Copy _Date"),
NULL, NULL,
G_CALLBACK (copy_date) },
- { "ClockConfig", GTK_STOCK_PREFERENCES, N_("Ad_just Date & Time"),
+ { "ClockConfig", "preferences-system", N_("Ad_just Date & Time"),
NULL, NULL,
G_CALLBACK (config_date) }
};
diff --git a/applets/fish/fish.c b/applets/fish/fish.c
index c1fc2a02..f9e8d6ac 100644
--- a/applets/fish/fish.c
+++ b/applets/fish/fish.c
@@ -839,7 +839,7 @@ static void display_fortune_dialog(FishApplet* fish)
gtk_dialog_new_with_buttons (
"", NULL, 0,
_("_Speak again"), FISH_RESPONSE_SPEAK,
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
+ "gtk-close", GTK_RESPONSE_CLOSE,
NULL);
gtk_window_set_icon_name (GTK_WINDOW (fish->fortune_dialog),
@@ -1686,13 +1686,13 @@ static void setup_fish_widget(FishApplet* fish)
}
static const GtkActionEntry fish_menu_verbs[] = {
- { "FishPreferences", GTK_STOCK_PROPERTIES, N_("_Preferences"),
+ { "FishPreferences", "document-properties", N_("_Preferences"),
NULL, NULL,
G_CALLBACK (display_preferences_dialog) },
- { "FishHelp", GTK_STOCK_HELP, N_("_Help"),
+ { "FishHelp", "help-browser", N_("_Help"),
NULL, NULL,
G_CALLBACK (display_help_dialog) },
- { "FishAbout", GTK_STOCK_ABOUT, N_("_About"),
+ { "FishAbout", "help-about", N_("_About"),
NULL, NULL,
G_CALLBACK (display_about_dialog) }
};
diff --git a/applets/notification_area/main.c b/applets/notification_area/main.c
index 8317ff06..259573c4 100644
--- a/applets/notification_area/main.c
+++ b/applets/notification_area/main.c
@@ -182,10 +182,10 @@ static void about_cb(GtkAction* action, NaTrayApplet* applet)
}
static const GtkActionEntry menu_actions [] = {
- { "SystemTrayHelp", GTK_STOCK_HELP, N_("_Help"),
+ { "SystemTrayHelp", "help-browser", N_("_Help"),
NULL, NULL,
G_CALLBACK (help_cb) },
- { "SystemTrayAbout", GTK_STOCK_ABOUT, N_("_About"),
+ { "SystemTrayAbout", "help-about", N_("_About"),
NULL, NULL,
G_CALLBACK (about_cb) }
};
diff --git a/applets/wncklet/showdesktop.c b/applets/wncklet/showdesktop.c
index 4c5cc3cc..57818774 100644
--- a/applets/wncklet/showdesktop.c
+++ b/applets/wncklet/showdesktop.c
@@ -231,7 +231,7 @@ static void update_icon(ShowDesktopData* sdd)
static const GtkActionEntry show_desktop_menu_actions[] = {
{
"ShowDesktopHelp",
- GTK_STOCK_HELP,
+ "help-browser",
N_("_Help"),
NULL,
NULL,
@@ -239,7 +239,7 @@ static const GtkActionEntry show_desktop_menu_actions[] = {
},
{
"ShowDesktopAbout",
- GTK_STOCK_ABOUT,
+ "help-about",
N_("_About"),
NULL,
NULL,
diff --git a/applets/wncklet/window-list.c b/applets/wncklet/window-list.c
index df23a401..9cbe97f5 100644
--- a/applets/wncklet/window-list.c
+++ b/applets/wncklet/window-list.c
@@ -164,7 +164,7 @@ static const GtkActionEntry tasklist_menu_actions[] = {
},
{
"TasklistPreferences",
- GTK_STOCK_PROPERTIES,
+ "document-properties",
N_("_Preferences"),
NULL,
NULL,
@@ -172,7 +172,7 @@ static const GtkActionEntry tasklist_menu_actions[] = {
},
{
"TasklistHelp",
- GTK_STOCK_HELP,
+ "help-browser",
N_("_Help"),
NULL,
NULL,
@@ -180,7 +180,7 @@ static const GtkActionEntry tasklist_menu_actions[] = {
},
{
"TasklistAbout",
- GTK_STOCK_ABOUT,
+ "help-about",
N_("_About"),
NULL,
NULL,
diff --git a/applets/wncklet/window-menu.c b/applets/wncklet/window-menu.c
index dcf78df8..0db9fee2 100644
--- a/applets/wncklet/window-menu.c
+++ b/applets/wncklet/window-menu.c
@@ -96,7 +96,7 @@ static void window_menu_about(GtkAction* action, WindowMenu* window_menu)
static const GtkActionEntry window_menu_actions[] = {
{
"WindowMenuHelp",
- GTK_STOCK_HELP,
+ "help-browser",
N_("_Help"),
NULL,
NULL,
@@ -104,7 +104,7 @@ static const GtkActionEntry window_menu_actions[] = {
},
{
"WindowMenuAbout",
- GTK_STOCK_ABOUT,
+ "help-about",
N_("_About"),
NULL,
NULL,
diff --git a/applets/wncklet/workspace-switcher.c b/applets/wncklet/workspace-switcher.c
index 72e7c64e..df7add93 100644
--- a/applets/wncklet/workspace-switcher.c
+++ b/applets/wncklet/workspace-switcher.c
@@ -323,7 +323,7 @@ static gboolean applet_scroll(MatePanelApplet* applet, GdkEventScroll* event, Pa
static const GtkActionEntry pager_menu_actions[] = {
{
"PagerPreferences",
- GTK_STOCK_PROPERTIES,
+ "document-properties",
N_("_Preferences"),
NULL,
NULL,
@@ -331,7 +331,7 @@ static const GtkActionEntry pager_menu_actions[] = {
},
{
"PagerHelp",
- GTK_STOCK_HELP,
+ "help-browser",
N_("_Help"),
NULL,
NULL,
@@ -339,7 +339,7 @@ static const GtkActionEntry pager_menu_actions[] = {
},
{
"PagerAbout",
- GTK_STOCK_ABOUT,
+ "help-about",
N_("_About"),
NULL,
NULL,