diff options
author | Pablo Barciela <[email protected]> | 2018-02-15 01:45:55 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-16 17:22:20 +0100 |
commit | 7a91219f5b255783690be32fe6426b8a6c640398 (patch) | |
tree | d63211014ecdc0dbbeb8e315b4d6067f9e1e62ac /previewer/ev-previewer-window.c | |
parent | ed3b7f0015cf629a2d7e69f60b166978d6859305 (diff) | |
download | atril-7a91219f5b255783690be32fe6426b8a6c640398.tar.bz2 atril-7a91219f5b255783690be32fe6426b8a6c640398.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'previewer/ev-previewer-window.c')
-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) } |