]> www.fi.muni.cz Git - evince.git/blobdiff - cut-n-paste/zoom-control/ephy-zoom.h
Make gnome-doc-utils optional
[evince.git] / cut-n-paste / zoom-control / ephy-zoom.h
index e62fdef3e4f444e47dc46c8bceaaef7441f99608..293880a200f05191d5816e9235924f07bf2f4792 100644 (file)
@@ -15,7 +15,7 @@
  *
  *  You should have received a copy of the GNU General Public License
  *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  *
  *  $Id$
  */
@@ -45,23 +45,24 @@ struct
 
 zoom_levels[] =
 {
-       { N_("50%"), 0.7071067811 },
-       { N_("75%"), 0.8408964152 },
+       { N_("Best Fit"),       EPHY_ZOOM_BEST_FIT  },
+       { N_("Fit Page Width"), EPHY_ZOOM_FIT_WIDTH },
+       { NULL,                 EPHY_ZOOM_SEPARATOR },
+       { N_("50%"), 0.5 },
+       { N_("70%"), 0.7071067811 },
+       { N_("85%"), 0.8408964152 },
        { N_("100%"), 1.0 },
        { N_("125%"), 1.1892071149 },
        { N_("150%"), 1.4142135623 },
        { 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)