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 /accessx-status | |
parent | 94618cb836c3213e28c3d75fc6bc458bf6cd59b3 (diff) | |
download | mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.bz2 mate-applets-607d5228f3a280dd8acfcdaba7da7c83c496de32.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'accessx-status')
-rw-r--r-- | accessx-status/applet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/accessx-status/applet.c b/accessx-status/applet.c index 32b59553..b25d9092 100644 --- a/accessx-status/applet.c +++ b/accessx-status/applet.c @@ -220,9 +220,9 @@ static void dialog_cb(GtkAction* action, AccessxStatusApplet* sapplet) } static const GtkActionEntry accessx_status_applet_menu_actions[] = { - {"Dialog", GTK_STOCK_PROPERTIES, N_("_Keyboard Accessibility Preferences"), NULL, NULL, G_CALLBACK(dialog_cb)}, - {"Help", GTK_STOCK_HELP, N_("_Help"), NULL, NULL, G_CALLBACK(help_cb)}, - {"About", GTK_STOCK_ABOUT, N_("_About"), NULL, NULL, G_CALLBACK(about_cb)} + {"Dialog", "document-properties", N_("_Keyboard Accessibility Preferences"), NULL, NULL, G_CALLBACK(dialog_cb)}, + {"Help", "help-browser", N_("_Help"), NULL, NULL, G_CALLBACK(help_cb)}, + {"About", "help-about", N_("_About"), NULL, NULL, G_CALLBACK(about_cb)} }; static XkbDescPtr accessx_status_applet_get_xkb_desc(AccessxStatusApplet* sapplet) @@ -928,7 +928,7 @@ static void accessx_applet_add_stock_icons(AccessxStatusApplet* sapplet, GtkWidg } else { - GtkIconSet* default_set = gtk_icon_factory_lookup_default(GTK_STOCK_MISSING_IMAGE); + GtkIconSet* default_set = gtk_icon_factory_lookup_default("gtk-missing-image"); gtk_icon_source_set_pixbuf(source, gtk_icon_set_render_icon(default_set, gtk_widget_get_style(widget), GTK_TEXT_DIR_NONE, GTK_STATE_NORMAL, icon_size_spec, widget, NULL)); } g_free(filename); |