From 1f72d441289df987dd7fbb528089f71e719e3c46 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 23 Jan 2018 20:55:01 +0100 Subject: avoid deprecated GtkStock --- applets/wncklet/showdesktop.c | 4 ++-- applets/wncklet/window-list.c | 6 +++--- applets/wncklet/window-menu.c | 4 ++-- applets/wncklet/workspace-switcher.c | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'applets/wncklet') 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, -- cgit v1.2.1