[gthumb] always zoom to fit for consinstency with the clutter projector.
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] always zoom to fit for consinstency with the clutter projector.
- Date: Thu, 1 Jul 2010 18:16:27 +0000 (UTC)
commit dc2d4ea8084157d69dc0e822694c4864cc196e54
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Jul 1 20:10:57 2010 +0200
always zoom to fit for consinstency with the clutter projector.
extensions/slideshow/gth-slideshow.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/slideshow/gth-slideshow.c b/extensions/slideshow/gth-slideshow.c
index 76a6930..a22d672 100644
--- a/extensions/slideshow/gth-slideshow.c
+++ b/extensions/slideshow/gth-slideshow.c
@@ -586,8 +586,8 @@ default_projector_construct (GthSlideshow *self)
self->priv->viewer = gth_image_viewer_new ();
gth_image_viewer_set_black_background (GTH_IMAGE_VIEWER (self->priv->viewer), TRUE);
gth_image_viewer_hide_frame (GTH_IMAGE_VIEWER (self->priv->viewer));
- gth_image_viewer_set_fit_mode (GTH_IMAGE_VIEWER (self->priv->viewer), GTH_FIT_SIZE_IF_LARGER);
- gth_image_viewer_set_zoom_change (GTH_IMAGE_VIEWER (self->priv->viewer), GTH_ZOOM_CHANGE_FIT_SIZE_IF_LARGER);
+ gth_image_viewer_set_fit_mode (GTH_IMAGE_VIEWER (self->priv->viewer), GTH_FIT_SIZE);
+ gth_image_viewer_set_zoom_change (GTH_IMAGE_VIEWER (self->priv->viewer), GTH_ZOOM_CHANGE_FIT_SIZE);
gth_image_viewer_set_transp_type (GTH_IMAGE_VIEWER (self->priv->viewer), GTH_TRANSP_TYPE_BLACK);
gth_image_viewer_set_zoom_quality (GTH_IMAGE_VIEWER (self->priv->viewer), GTH_ZOOM_QUALITY_LOW);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]