From 17b20172c581009a5d972dbb9bc523e7d3e4126d Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Fri, 26 Jan 2018 11:06:00 +0100 Subject: avoid deprecated GtkStock --- typing-break/drwright.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'typing-break') diff --git a/typing-break/drwright.c b/typing-break/drwright.c index b1b26612..6fff8f58 100644 --- a/typing-break/drwright.c +++ b/typing-break/drwright.c @@ -135,8 +135,8 @@ static void init_tray_icon (DrWright *dr); static GList * create_secondary_break_windows (void); static const GtkActionEntry actions[] = { - {"Preferences", GTK_STOCK_PREFERENCES, NULL, NULL, NULL, G_CALLBACK (popup_preferences_cb)}, - {"About", GTK_STOCK_ABOUT, NULL, NULL, NULL, G_CALLBACK (popup_about_cb)}, + {"Preferences", "preferences-desktop", N_("_Preferences"), NULL, NULL, G_CALLBACK (popup_preferences_cb)}, + {"About", "help-about", N_("_About"), NULL, NULL, G_CALLBACK (popup_about_cb)}, {"TakeABreak", NULL, N_("_Take a Break"), NULL, NULL, G_CALLBACK (popup_break_cb)} }; -- cgit v1.2.1