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/fish/fish.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'applets/fish') 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) } }; -- cgit v1.2.1