+2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * cut-n-paste/zoom-control/ephy-zoom.c:
+ (ephy_zoom_get_zoom_level_index):
+ * cut-n-paste/zoom-control/ephy-zoom.h:
+
+ Move the best fit items at the top of the list
+
2005-05-11 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-marshal.list:
/* Handle our options at the end of the list. */
if (level == EPHY_ZOOM_BEST_FIT) {
- return n_zoom_levels - 2;
+ return 0;
} else if (level == EPHY_ZOOM_FIT_WIDTH) {
- return n_zoom_levels - 1;
+ return 1;
}
previous = zoom_levels[0].level;
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 },
{ 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);