gnome-commander r2231 - in trunk: . src/intviewer



Author: epiotr
Date: Tue Oct 21 21:36:10 2008
New Revision: 2231
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2231&view=rev

Log:
Internal viewer: set zoom index properly when viewing in normal size

Modified:
   trunk/ChangeLog
   trunk/src/intviewer/viewer-window.cc

Modified: trunk/src/intviewer/viewer-window.cc
==============================================================================
--- trunk/src/intviewer/viewer-window.cc	(original)
+++ trunk/src/intviewer/viewer-window.cc	Tue Oct 21 21:36:10 2008
@@ -228,7 +228,7 @@
     // w->priv->filename = NULL;
     // w->priv->metadata_view = NULL;
     // w->priv->metadata_visible = FALSE;
-    w->priv->current_scale_index = 3;
+    w->priv->current_scale_index = 5;
 
     GtkWindow *win = GTK_WINDOW (w);
     gtk_window_set_title(win, "GViewer");
@@ -1060,6 +1060,7 @@
         case DISP_MODE_IMAGE:
            gviewer_set_best_fit (obj->priv->viewer, FALSE);
            gviewer_set_scale_factor(obj->priv->viewer, 1);
+           obj->priv->current_scale_index = 5;
            break;
 
         default:



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