[evince] zoom-action: Fix the zoom text when setting 70% or 85%



commit e92562d263edb08596ee85638b7b88178d1d8355
Author: Carlos Garcia Campos <carlosgc gnome org>
Date:   Thu Jul 24 18:35:59 2014 +0200

    zoom-action: Fix the zoom text when setting 70% or 85%

 shell/ev-zoom-action.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-zoom-action.c b/shell/ev-zoom-action.c
index e0297e7..34f85fd 100644
--- a/shell/ev-zoom-action.c
+++ b/shell/ev-zoom-action.c
@@ -86,7 +86,7 @@ ev_zoom_action_set_zoom_level (EvZoomAction *zoom_action,
         float  zoom_perc;
         guint  i;
 
-        for (i = 3; i < G_N_ELEMENTS (zoom_levels); i++) {
+        for (i = 0; i < G_N_ELEMENTS (zoom_levels); i++) {
                 if (ABS (zoom - zoom_levels[i].level) < EPSILON) {
                         gtk_entry_set_text (GTK_ENTRY (zoom_action->priv->entry),
                                             zoom_levels[i].name);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]