X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=cut-n-paste%2Fzoom-control%2Fephy-zoom.h;h=e8fb52ad2f8ff0e3640cd7f6e2e984b5929e03e9;hb=b4400b84fbb899a1984c8e145b91a09de3a35516;hp=e62fdef3e4f444e47dc46c8bceaaef7441f99608;hpb=606f66cbbca54996a165121743cda6a993762c47;p=evince.git diff --git a/cut-n-paste/zoom-control/ephy-zoom.h b/cut-n-paste/zoom-control/ephy-zoom.h index e62fdef3..e8fb52ad 100644 --- a/cut-n-paste/zoom-control/ephy-zoom.h +++ b/cut-n-paste/zoom-control/ephy-zoom.h @@ -45,6 +45,9 @@ struct zoom_levels[] = { + { N_("Best Fit"), EPHY_ZOOM_BEST_FIT }, + { N_("Fit Page Width"), EPHY_ZOOM_FIT_WIDTH }, + { NULL, EPHY_ZOOM_SEPARATOR }, { N_("50%"), 0.7071067811 }, { N_("75%"), 0.8408964152 }, { N_("100%"), 1.0 }, @@ -53,15 +56,12 @@ zoom_levels[] = { N_("175%"), 1.6817928304 }, { N_("200%"), 2.0 }, { N_("300%"), 2.8284271247 }, - { N_("400%"), 4.0 }, - { NULL, EPHY_ZOOM_SEPARATOR }, - { N_("Best Fit"), EPHY_ZOOM_BEST_FIT }, - { N_("Fit Page Width"), EPHY_ZOOM_FIT_WIDTH } + { N_("400%"), 4.0 } }; static const guint n_zoom_levels = G_N_ELEMENTS (zoom_levels); #define ZOOM_MINIMAL (EPHY_ZOOM_SEPARATOR) -#define ZOOM_MAXIMAL (zoom_levels[n_zoom_levels - 4].level) +#define ZOOM_MAXIMAL (zoom_levels[n_zoom_levels - 1].level) #define ZOOM_IN (-1.0) #define ZOOM_OUT (-2.0)