From 49c9e93745d3196f6d6342e6aae5e593a1741176 Mon Sep 17 00:00:00 2001 From: TotalCaesar659 Date: Sun, 3 Sep 2017 18:26:26 +0300 Subject: Do not use deprecated GtkStock GtkStock has been deprecated in GTK+ 3.0, so use strings that work in both GTK+ 2 and GTK+ 3. --- shell/menu.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shell/menu.c b/shell/menu.c index e966f485..b0f01e58 100644 --- a/shell/menu.c +++ b/shell/menu.c @@ -49,17 +49,17 @@ static GtkActionEntry entries[] = { NULL, G_CALLBACK(cb_sync_manager)}, - {"OpenAction", GTK_STOCK_OPEN, + {"OpenAction", "_Open", N_("_Open..."), NULL, NULL, G_CALLBACK(cb_sync_manager)}, - {"CopyAction", GTK_STOCK_COPY, + {"CopyAction", "_Copy", N_("_Copy to Clipboard"), "C", N_("Copy to clipboard"), G_CALLBACK(cb_copy_to_clipboard)}, - {"RefreshAction", GTK_STOCK_REFRESH, + {"RefreshAction", "_Refresh", N_("_Refresh"), "F5", NULL, G_CALLBACK(cb_refresh)}, @@ -74,12 +74,12 @@ static GtkActionEntry entries[] = { NULL, G_CALLBACK(cb_report_bug)}, - {"AboutAction", GTK_STOCK_ABOUT, + {"AboutAction", "_About", N_("_About HardInfo"), NULL, N_("Displays program version information"), G_CALLBACK(cb_about)}, - {"QuitAction", GTK_STOCK_QUIT, + {"QuitAction", "_Quit", N_("_Quit"), "Q", NULL, G_CALLBACK(cb_quit)} -- cgit v1.2.3