diff options
author | Pablo Barciela <[email protected]> | 2018-01-31 00:10:46 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-01 09:18:12 +0100 |
commit | 1c2976cfc59ba1c40f2ea7c5c99810ef090f6ffb (patch) | |
tree | 5c03dd8a7c560f0c368a885e714419b4b82e7af4 | |
parent | 48558e89aff3933463b6c9dc6bba7082ec3e8ee4 (diff) | |
download | mate-power-manager-1c2976cfc59ba1c40f2ea7c5c99810ef090f6ffb.tar.bz2 mate-power-manager-1c2976cfc59ba1c40f2ea7c5c99810ef090f6ffb.tar.xz |
avoid deprecated GtkStock
-rw-r--r-- | applets/brightness/brightness-applet.c | 4 | ||||
-rw-r--r-- | applets/inhibit/inhibit-applet.c | 4 | ||||
-rw-r--r-- | src/gpm-tray-icon.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index f7610ab..0f1dd77 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -1065,10 +1065,10 @@ gpm_applet_cb (MatePanelApplet *_applet, const gchar *iid, gpointer data) gchar *ui_path; static const GtkActionEntry menu_actions [] = { - { "About", GTK_STOCK_ABOUT, N_("_About"), + { "About", "help-about", N_("_About"), NULL, NULL, G_CALLBACK (gpm_applet_dialog_about_cb) }, - { "Help", GTK_STOCK_HELP, N_("_Help"), + { "Help", "help-browser", N_("_Help"), NULL, NULL, G_CALLBACK (gpm_applet_help_cb) } }; diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c index f5f0057..a5c862a 100644 --- a/applets/inhibit/inhibit-applet.c +++ b/applets/inhibit/inhibit-applet.c @@ -607,10 +607,10 @@ gpm_applet_cb (MatePanelApplet *_applet, const gchar *iid, gpointer data) gchar *ui_path; static const GtkActionEntry menu_actions [] = { - { "About", GTK_STOCK_ABOUT, N_("_About"), + { "About", "help-about", N_("_About"), NULL, NULL, G_CALLBACK (gpm_applet_dialog_about_cb) }, - { "Help", GTK_STOCK_HELP, N_("_Help"), + { "Help", "help-browser", N_("_Help"), NULL, NULL, G_CALLBACK (gpm_applet_help_cb) } }; diff --git a/src/gpm-tray-icon.c b/src/gpm-tray-icon.c index 39f277a..0aa44a7 100644 --- a/src/gpm-tray-icon.c +++ b/src/gpm-tray-icon.c @@ -368,7 +368,7 @@ gpm_tray_icon_create_menu (GpmTrayIcon *icon) gtk_style_context_add_class(context,"mate-panel-menu-bar"); /* about */ - item = gtk_image_menu_item_new_from_stock (GTK_STOCK_ABOUT, NULL); + item = gtk_image_menu_item_new_from_stock ("gtk-about", NULL); g_signal_connect (G_OBJECT (item), "activate", G_CALLBACK (gpm_tray_icon_show_about_cb), icon); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); |