diff options
| author | TotalCaesar659 <x24cm5b8c54q6szxw@yandex.ru> | 2017-09-03 18:26:26 +0300 | 
|---|---|---|
| committer | Leandro Pereira <leandro@hardinfo.org> | 2017-09-03 08:55:08 -0700 | 
| commit | 49c9e93745d3196f6d6342e6aae5e593a1741176 (patch) | |
| tree | 1e6952a2f3e7becf72e38571da972f330a06f5bd /shell | |
| parent | 8913af3e0fb372e7df705015840166ec1b841043 (diff) | |
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.
Diffstat (limited to 'shell')
| -rw-r--r-- | shell/menu.c | 10 | 
1 files 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"), "<control>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"), "<control>Q",       NULL,       G_CALLBACK(cb_quit)} | 
