diff options
author | Pablo Barciela <[email protected]> | 2018-02-15 01:45:55 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-03-16 18:03:09 +0100 |
commit | 58e7446290d78e0744a5193e22bfa300e6737829 (patch) | |
tree | 9d1667d6605e6ca2b469f3ddf877f1256d635862 /previewer | |
parent | 005d88500dc47f285d83fc5451cd5cea0e8c14a3 (diff) | |
download | atril-58e7446290d78e0744a5193e22bfa300e6737829.tar.bz2 atril-58e7446290d78e0744a5193e22bfa300e6737829.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'previewer')
-rw-r--r-- | previewer/ev-previewer-window.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c index 8d9852f2..1979d954 100644 --- a/previewer/ev-previewer-window.c +++ b/previewer/ev-previewer-window.c @@ -269,49 +269,49 @@ ev_previewer_window_print (GtkAction *action, #endif static const GtkActionEntry action_entries[] = { - { "FileCloseWindow", GTK_STOCK_CLOSE, NULL, "<control>W", + { "FileCloseWindow", "window-close", N_("_Close"), "<control>W", NULL, G_CALLBACK (ev_previewer_window_close) }, - { "GoPreviousPage", GTK_STOCK_GO_UP, N_("_Previous Page"), "<control>Page_Up", + { "GoPreviousPage", "go-up", N_("_Previous Page"), "<control>Page_Up", N_("Go to the previous page"), G_CALLBACK (ev_previewer_window_previous_page) }, - { "GoNextPage", GTK_STOCK_GO_DOWN, N_("_Next Page"), "<control>Page_Down", + { "GoNextPage", "go-down", N_("_Next Page"), "<control>Page_Down", N_("Go to the next page"), G_CALLBACK (ev_previewer_window_next_page) }, - { "ViewZoomIn", GTK_STOCK_ZOOM_IN, NULL, "<control>plus", + { "ViewZoomIn", "zoom-in", N_("Zoom _In"), "<control>plus", N_("Enlarge the document"), G_CALLBACK (ev_previewer_window_zoom_in) }, - { "ViewZoomOut", GTK_STOCK_ZOOM_OUT, NULL, "<control>minus", + { "ViewZoomOut", "zoom-out", N_("Zoom _Out"), "<control>minus", N_("Shrink the document"), G_CALLBACK (ev_previewer_window_zoom_out) }, #if GTKUNIXPRINT_ENABLED /* translators: Print document currently shown in the Print Preview window */ - { "PreviewPrint", GTK_STOCK_PRINT, N_("Print"), NULL, + { "PreviewPrint", "document-print", N_("Print"), NULL, N_("Print this document"), G_CALLBACK (ev_previewer_window_print) } #endif }; static const GtkActionEntry accel_entries[] = { - { "p", GTK_STOCK_GO_UP, "", "p", NULL, + { "p", "go-up", "", "p", NULL, G_CALLBACK (ev_previewer_window_previous_page) }, - { "n", GTK_STOCK_GO_DOWN, "", "n", NULL, + { "n", "go-down", "", "n", NULL, G_CALLBACK (ev_previewer_window_next_page) }, - { "Plus", GTK_STOCK_ZOOM_IN, NULL, "plus", NULL, + { "Plus", "zoom-in", NULL, "plus", NULL, G_CALLBACK (ev_previewer_window_zoom_in) }, - { "CtrlEqual", GTK_STOCK_ZOOM_IN, NULL, "<control>equal", NULL, + { "CtrlEqual", "zoom-in", NULL, "<control>equal", NULL, G_CALLBACK (ev_previewer_window_zoom_in) }, - { "Equal", GTK_STOCK_ZOOM_IN, NULL, "equal", NULL, + { "Equal", "zoom-in", NULL, "equal", NULL, G_CALLBACK (ev_previewer_window_zoom_in) }, - { "Minus", GTK_STOCK_ZOOM_OUT, NULL, "minus", NULL, + { "Minus", "zoom-out", NULL, "minus", NULL, G_CALLBACK (ev_previewer_window_zoom_out) }, - { "KpPlus", GTK_STOCK_ZOOM_IN, NULL, "KP_Add", NULL, + { "KpPlus", "zoom-in", NULL, "KP_Add", NULL, G_CALLBACK (ev_previewer_window_zoom_in) }, - { "KpMinus", GTK_STOCK_ZOOM_OUT, NULL, "KP_Subtract", NULL, + { "KpMinus", "zoom-out", NULL, "KP_Subtract", NULL, G_CALLBACK (ev_previewer_window_zoom_out) }, - { "CtrlKpPlus", GTK_STOCK_ZOOM_IN, NULL, "<control>KP_Add", NULL, + { "CtrlKpPlus", "zoom-in", NULL, "<control>KP_Add", NULL, G_CALLBACK (ev_previewer_window_zoom_in) }, - { "CtrlKpMinus", GTK_STOCK_ZOOM_OUT, NULL, "<control>KP_Subtract", NULL, + { "CtrlKpMinus", "zoom-out", NULL, "<control>KP_Subtract", NULL, G_CALLBACK (ev_previewer_window_zoom_out) }, { "FocusPageSelector", NULL, "", "<control>l", NULL, G_CALLBACK (ev_previewer_window_focus_page_selector) } |