gnome-commander r2232 - in branches/gcmd-1-3: . src/intviewer
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2232 - in branches/gcmd-1-3: . src/intviewer
- Date: Tue, 21 Oct 2008 21:36:25 +0000 (UTC)
Author: epiotr
Date: Tue Oct 21 21:36:25 2008
New Revision: 2232
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2232&view=rev
Log:
Internal viewer: set zoom index properly when viewing in normal size
Modified:
branches/gcmd-1-3/ChangeLog
branches/gcmd-1-3/src/intviewer/viewer-window.cc
Modified: branches/gcmd-1-3/src/intviewer/viewer-window.cc
==============================================================================
--- branches/gcmd-1-3/src/intviewer/viewer-window.cc (original)
+++ branches/gcmd-1-3/src/intviewer/viewer-window.cc Tue Oct 21 21:36:25 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]