summaryrefslogtreecommitdiff
path: root/previewer
diff options
context:
space:
mode:
authorWilliam Jon McCann <[email protected]>2012-12-29 13:58:43 +0100
committerraveit65 <[email protected]>2017-08-31 13:28:21 +0200
commita75c067b9143e0fd2223647e4414227b4613619b (patch)
tree6ef6f9530284a9372752073ec508b951b8ab0a43 /previewer
parent36348a35643fb353847ca50c23c4d95a6e91ee1a (diff)
downloadatril-a75c067b9143e0fd2223647e4414227b4613619b.tar.bz2
atril-a75c067b9143e0fd2223647e4414227b4613619b.tar.xz
Rename Fit Page Width as Fit Width
https://bugzilla.gnome.org/show_bug.cgi?id=689468 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=88d7a4a
Diffstat (limited to 'previewer')
-rw-r--r--previewer/ev-previewer-window.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/previewer/ev-previewer-window.c b/previewer/ev-previewer-window.c
index 5094fcf5..73885f9e 100644
--- a/previewer/ev-previewer-window.c
+++ b/previewer/ev-previewer-window.c
@@ -155,8 +155,8 @@ ev_previewer_window_zoom_fit_page (GtkToggleAction *action,
}
static void
-ev_previewer_window_zoom_page_width (GtkToggleAction *action,
- EvPreviewerWindow *window)
+ev_previewer_window_zoom_fit_width (GtkToggleAction *action,
+ EvPreviewerWindow *window)
{
ev_document_model_set_sizing_mode (window->model,
gtk_toggle_action_get_active (action) ?
@@ -355,9 +355,9 @@ static const GtkToggleActionEntry toggle_action_entries[] = {
{ "ViewFitPage", EV_STOCK_ZOOM_PAGE, N_("Fit Pa_ge"), NULL,
N_("Make the current document fill the window"),
G_CALLBACK (ev_previewer_window_zoom_fit_page) },
- { "ViewPageWidth", EV_STOCK_ZOOM_WIDTH, N_("Fit Page _Width"), NULL,
+ { "ViewFitWidth", EV_STOCK_ZOOM_WIDTH, N_("Fit _Width"), NULL,
N_("Make the current document fill the window width"),
- G_CALLBACK (ev_previewer_window_zoom_page_width) }
+ G_CALLBACK (ev_previewer_window_zoom_fit_width) }
};
static gboolean
@@ -389,14 +389,14 @@ view_sizing_mode_changed (EvDocumentModel *model,
G_CALLBACK (ev_previewer_window_zoom_fit_page),
window);
- action = gtk_action_group_get_action (window->action_group, "ViewPageWidth");
+ action = gtk_action_group_get_action (window->action_group, "ViewFitWidth");
g_signal_handlers_block_by_func (action,
- G_CALLBACK (ev_previewer_window_zoom_page_width),
+ G_CALLBACK (ev_previewer_window_zoom_fit_width),
window);
gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action),
sizing_mode == EV_SIZING_FIT_WIDTH);
g_signal_handlers_unblock_by_func (action,
- G_CALLBACK (ev_previewer_window_zoom_page_width),
+ G_CALLBACK (ev_previewer_window_zoom_fit_width),
window);
}