[Xfce4-commits] <ristretto:stephan/properties-dialog> Prevent the scroll-event from being propagated from the image_viewer.
Stephan Arts
noreply at xfce.org
Sun Oct 2 08:58:13 CEST 2011
Updating branch refs/heads/stephan/properties-dialog
to dde5a3d773921610c5d29765c861eb56a8aa2cfe (commit)
from d41117c42e9a313efd1cf27d5e6b9cb76ddaac67 (commit)
commit dde5a3d773921610c5d29765c861eb56a8aa2cfe
Author: Stephan Arts <stephan at xfce.org>
Date: Sun Oct 2 07:16:12 2011 +0200
Prevent the scroll-event from being propagated from the image_viewer.
The behaviour of the scrolled-window on the scroll-event interferes
with the scroll behaviour of the image-viewer widget.
This change comes with a draw-back, the scroll-event does not reach
the main-window either, breaking the image-navigation that responds
to the scroll-event.
src/image_viewer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/image_viewer.c b/src/image_viewer.c
index 3670f6d..81ed21e 100644
--- a/src/image_viewer.c
+++ b/src/image_viewer.c
@@ -1910,7 +1910,7 @@ cb_rstto_image_viewer_scroll_event (RsttoImageViewer *viewer, GdkEventScroll *ev
rstto_image_viewer_queued_repaint (viewer, TRUE);
}
}
- return FALSE;
+ return TRUE;
}
static gboolean
More information about the Xfce4-commits
mailing list