[gthumb] Switching images on mouse-wheel is destructive
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] Switching images on mouse-wheel is destructive
- Date: Sun, 7 Nov 2010 09:27:40 +0000 (UTC)
commit a6fa049752eefdd496b08428bcfeb94804aa42ca
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Nov 7 10:26:50 2010 +0100
Switching images on mouse-wheel is destructive
[bug #631205]
gthumb/gth-browser.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index c476686..4129ff7 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -4736,6 +4736,9 @@ gth_browser_viewer_scroll_event_cb (GthBrowser *browser,
{
g_return_val_if_fail (event != NULL, FALSE);
+ if (gth_sidebar_tool_is_active (GTH_SIDEBAR (browser->priv->viewer_sidebar)))
+ return FALSE;
+
if (event->state & GDK_SHIFT_MASK)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]