[evince] zoom-action: Fix the zoom text when setting 70% or 85%
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] zoom-action: Fix the zoom text when setting 70% or 85%
- Date: Fri, 25 Jul 2014 08:20:09 +0000 (UTC)
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]