summaryrefslogtreecommitdiff
path: root/cut-n-paste/zoom-control
diff options
context:
space:
mode:
authorWilliam Jon McCann <[email protected]>2012-12-29 13:36:09 +0100
committerraveit65 <[email protected]>2017-08-31 13:28:21 +0200
commit36348a35643fb353847ca50c23c4d95a6e91ee1a (patch)
tree0cae04acb41d9c6e74e0bd2cd2a2277651951e5c /cut-n-paste/zoom-control
parentad4ce2cbce9cf6a25082118b3380fc64555d9fb7 (diff)
downloadatril-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 'cut-n-paste/zoom-control')
-rw-r--r--cut-n-paste/zoom-control/ephy-zoom.c2
-rw-r--r--cut-n-paste/zoom-control/ephy-zoom.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/cut-n-paste/zoom-control/ephy-zoom.c b/cut-n-paste/zoom-control/ephy-zoom.c
index bc456ecc..9c289f2c 100644
--- a/cut-n-paste/zoom-control/ephy-zoom.c
+++ b/cut-n-paste/zoom-control/ephy-zoom.c
@@ -31,7 +31,7 @@ ephy_zoom_get_zoom_level_index (float level)
float previous, current, mean;
/* Handle our options at the beginning of the list. */
- if (level == EPHY_ZOOM_BEST_FIT) {
+ if (level == EPHY_ZOOM_FIT_PAGE) {
return 0;
} else if (level == EPHY_ZOOM_FIT_WIDTH) {
return 1;
diff --git a/cut-n-paste/zoom-control/ephy-zoom.h b/cut-n-paste/zoom-control/ephy-zoom.h
index b77b3733..895e76a9 100644
--- a/cut-n-paste/zoom-control/ephy-zoom.h
+++ b/cut-n-paste/zoom-control/ephy-zoom.h
@@ -32,7 +32,7 @@
G_BEGIN_DECLS
-#define EPHY_ZOOM_BEST_FIT (-3.0)
+#define EPHY_ZOOM_FIT_PAGE (-3.0)
#define EPHY_ZOOM_FIT_WIDTH (-4.0)
#define EPHY_ZOOM_EXPAND_WINDOW_TO_FIT (-5.0)
#define EPHY_ZOOM_SEPARATOR (-6.0)
@@ -46,7 +46,7 @@ struct
zoom_levels[] =
{
- { N_("Best Fit"), EPHY_ZOOM_BEST_FIT },
+ { N_("Fit Page"), EPHY_ZOOM_FIT_PAGE },
{ N_("Fit Page Width"), EPHY_ZOOM_FIT_WIDTH },
{ N_("Expand Window to Fit"), EPHY_ZOOM_EXPAND_WINDOW_TO_FIT },
{ NULL, EPHY_ZOOM_SEPARATOR },