summaryrefslogtreecommitdiff
path: root/geyes
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 /geyes
parent94618cb836c3213e28c3d75fc6bc458bf6cd59b3 (diff)
downloadmate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.bz2
mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'geyes')
-rw-r--r--geyes/geyes.c6
-rw-r--r--geyes/themes.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/geyes/geyes.c b/geyes/geyes.c
index 00f85fd7..52e257b0 100644
--- a/geyes/geyes.c
+++ b/geyes/geyes.c
@@ -348,13 +348,13 @@ help_cb (GtkAction *action,
static const GtkActionEntry geyes_applet_menu_actions [] = {
- { "Props", GTK_STOCK_PROPERTIES, N_("_Preferences"),
+ { "Props", "document-properties", N_("_Preferences"),
NULL, NULL,
G_CALLBACK (properties_cb) },
- { "Help", GTK_STOCK_HELP, N_("_Help"),
+ { "Help", "help-browser", N_("_Help"),
NULL, NULL,
G_CALLBACK (help_cb) },
- { "About", GTK_STOCK_ABOUT, N_("_About"),
+ { "About", "help-about", N_("_About"),
NULL, NULL,
G_CALLBACK (about_cb) }
};
diff --git a/geyes/themes.c b/geyes/themes.c
index b9226a66..1a7f1c4b 100644
--- a/geyes/themes.c
+++ b/geyes/themes.c
@@ -284,8 +284,8 @@ properties_cb (GtkAction *action,
pbox = gtk_dialog_new_with_buttons (_("Geyes Preferences"), NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
- GTK_STOCK_HELP, GTK_RESPONSE_HELP,
+ "gtk-close", GTK_RESPONSE_CLOSE,
+ "gtk-help", GTK_RESPONSE_HELP,
NULL);
gtk_window_set_screen (GTK_WINDOW (pbox),