[f-spot/FSPOT_0_6_0_STABLE] get button events for IconView too
- From: Stephane Delcroix <sdelcroix src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [f-spot/FSPOT_0_6_0_STABLE] get button events for IconView too
- Date: Fri, 30 Oct 2009 20:30:49 +0000 (UTC)
commit 9b2612b771c4fa0e41ff8c36711dcc510d56aa93
Author: Stephane Delcroix <stephane delcroix org>
Date: Fri Oct 30 21:27:27 2009 +0100
get button events for IconView too
fixes singleview pane and facebook exporter. bgo #600032
src/Widgets/IconView.cs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/Widgets/IconView.cs b/src/Widgets/IconView.cs
index da8733f..c126dc7 100644
--- a/src/Widgets/IconView.cs
+++ b/src/Widgets/IconView.cs
@@ -213,9 +213,12 @@ namespace FSpot.Widgets
Destroyed += HandleDestroyed;
- AddEvents ((int) EventMask.KeyPressMask
- | (int) EventMask.KeyReleaseMask
- | (int) EventMask.PointerMotionMask);
+ AddEvents (
+ (int) EventMask.KeyPressMask
+ | (int) EventMask.KeyReleaseMask
+ | (int) EventMask.PointerMotionMask
+ | (int) EventMask.ButtonPressMask
+ | (int) EventMask.ButtonReleaseMask);
CanFocus = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]