diff options
Diffstat (limited to 'media-gfx/gthumb/files/gthumb-2.8.1-respect-zoom-pref.patch')
-rw-r--r-- | media-gfx/gthumb/files/gthumb-2.8.1-respect-zoom-pref.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/media-gfx/gthumb/files/gthumb-2.8.1-respect-zoom-pref.patch b/media-gfx/gthumb/files/gthumb-2.8.1-respect-zoom-pref.patch deleted file mode 100644 index 7c2ac5622a1a..000000000000 --- a/media-gfx/gthumb/files/gthumb-2.8.1-respect-zoom-pref.patch +++ /dev/null @@ -1,34 +0,0 @@ -diff --exclude-from=/home/dang/.diffrc -up -ruN gthumb-2.8.1.orig/src/gth-fullscreen.c gthumb-2.8.1/src/gth-fullscreen.c ---- gthumb-2.8.1.orig/src/gth-fullscreen.c 2006-08-17 12:16:45.000000000 -0400 -+++ gthumb-2.8.1/src/gth-fullscreen.c 2007-01-23 14:17:54.000000000 -0500 -@@ -1468,6 +1468,7 @@ gth_fullscreen_construct (GthFullscreen - { - GthFullscreenPrivateData *priv = fullscreen->priv; - GdkScreen *screen = gtk_widget_get_screen (GTK_WIDGET (fullscreen)); -+ GthZoomChange zoom_change = pref_get_zoom_change (); - - gtk_window_set_default_size (GTK_WINDOW (fullscreen), - gdk_screen_get_width (screen), -@@ -1495,7 +1496,7 @@ gth_fullscreen_construct (GthFullscreen - image_viewer_set_zoom_quality (IMAGE_VIEWER (priv->viewer), - pref_get_zoom_quality ()); - image_viewer_set_zoom_change (IMAGE_VIEWER (priv->viewer), -- GTH_ZOOM_CHANGE_FIT_IF_LARGER); -+ zoom_change); - image_viewer_set_check_type (IMAGE_VIEWER (priv->viewer), - pref_get_check_type ()); - image_viewer_set_check_size (IMAGE_VIEWER (priv->viewer), -@@ -1504,7 +1505,12 @@ gth_fullscreen_construct (GthFullscreen - pref_get_transp_type ()); - image_viewer_set_black_background (IMAGE_VIEWER (priv->viewer), TRUE); - image_viewer_hide_frame (IMAGE_VIEWER (priv->viewer)); -- image_viewer_zoom_to_fit_if_larger (IMAGE_VIEWER (priv->viewer)); -+ if(zoom_change == GTH_ZOOM_CHANGE_ACTUAL_SIZE) -+ image_viewer_set_zoom (IMAGE_VIEWER (priv->viewer), 1.0); -+ else if(zoom_change == GTH_ZOOM_CHANGE_FIT) -+ image_viewer_zoom_to_fit (IMAGE_VIEWER (priv->viewer)); -+ else -+ image_viewer_zoom_to_fit_if_larger (IMAGE_VIEWER (priv->viewer)); - - g_signal_connect (G_OBJECT (priv->viewer), - "key_press_event", |