diff options
author | William Jon McCann <[email protected]> | 2012-12-29 13:36:09 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-08-31 13:28:21 +0200 |
commit | 36348a35643fb353847ca50c23c4d95a6e91ee1a (patch) | |
tree | 0cae04acb41d9c6e74e0bd2cd2a2277651951e5c /previewer | |
parent | ad4ce2cbce9cf6a25082118b3380fc64555d9fb7 (diff) | |
download | atril-36348a35643fb353847ca50c23c4d95a6e91ee1a.tar.bz2 atril-36348a35643fb353847ca50c23c4d95a6e91ee1a.tar.xz |
Rename Best Fit mode as Fit Page
https://bugzilla.gnome.org/show_bug.cgi?id=689468
origin commit:
https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=ffd3853
Diffstat (limited to 'previewer')
-rw-r--r-- | previewer/ev-previewer-window.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c index 2571ac8d..5094fcf5 100644 --- a/previewer/ev-previewer-window.c +++ b/previewer/ev-previewer-window.c @@ -146,12 +146,12 @@ ev_previewer_window_zoom_out (GtkAction *action, } static void -ev_previewer_window_zoom_best_fit (GtkToggleAction *action, +ev_previewer_window_zoom_fit_page (GtkToggleAction *action, EvPreviewerWindow *window) { ev_document_model_set_sizing_mode (window->model, gtk_toggle_action_get_active (action) ? - EV_SIZING_BEST_FIT : EV_SIZING_FREE); + EV_SIZING_FIT_PAGE : EV_SIZING_FREE); } static void @@ -352,9 +352,9 @@ static const GtkActionEntry accel_entries[] = { }; static const GtkToggleActionEntry toggle_action_entries[] = { - { "ViewBestFit", EV_STOCK_ZOOM_PAGE, N_("_Best Fit"), NULL, + { "ViewFitPage", EV_STOCK_ZOOM_PAGE, N_("Fit Pa_ge"), NULL, N_("Make the current document fill the window"), - G_CALLBACK (ev_previewer_window_zoom_best_fit) }, + G_CALLBACK (ev_previewer_window_zoom_fit_page) }, { "ViewPageWidth", EV_STOCK_ZOOM_WIDTH, N_("Fit Page _Width"), NULL, N_("Make the current document fill the window width"), G_CALLBACK (ev_previewer_window_zoom_page_width) } @@ -379,14 +379,14 @@ view_sizing_mode_changed (EvDocumentModel *model, EvSizingMode sizing_mode = ev_document_model_get_sizing_mode (model); GtkAction *action; - action = gtk_action_group_get_action (window->action_group, "ViewBestFit"); + action = gtk_action_group_get_action (window->action_group, "ViewFitPage"); g_signal_handlers_block_by_func (action, - G_CALLBACK (ev_previewer_window_zoom_best_fit), + G_CALLBACK (ev_previewer_window_zoom_fit_page), window); gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), - sizing_mode == EV_SIZING_BEST_FIT); + sizing_mode == EV_SIZING_FIT_PAGE); g_signal_handlers_unblock_by_func (action, - G_CALLBACK (ev_previewer_window_zoom_best_fit), + G_CALLBACK (ev_previewer_window_zoom_fit_page), window); action = gtk_action_group_get_action (window->action_group, "ViewPageWidth"); |