aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/shortcut-bar/e-icon-bar-bg-item.c
diff options
context:
space:
mode:
authorDamon Chaplin <damon@helixcode.com>2000-06-19 15:26:12 +0800
committerDamon Chaplin <damon@src.gnome.org>2000-06-19 15:26:12 +0800
commiteae703e0851b32548a9ecd326063e0ac876e9e3b (patch)
tree4f65326e662f36d11e5f186e13b2a0d7254ed7d0 /widgets/shortcut-bar/e-icon-bar-bg-item.c
parent105dd5c5f61b47581339af1145bfd98aa8c65938 (diff)
downloadgsoc2013-evolution-eae703e0851b32548a9ecd326063e0ac876e9e3b.tar
gsoc2013-evolution-eae703e0851b32548a9ecd326063e0ac876e9e3b.tar.gz
gsoc2013-evolution-eae703e0851b32548a9ecd326063e0ac876e9e3b.tar.bz2
gsoc2013-evolution-eae703e0851b32548a9ecd326063e0ac876e9e3b.tar.lz
gsoc2013-evolution-eae703e0851b32548a9ecd326063e0ac876e9e3b.tar.xz
gsoc2013-evolution-eae703e0851b32548a9ecd326063e0ac876e9e3b.tar.zst
gsoc2013-evolution-eae703e0851b32548a9ecd326063e0ac876e9e3b.zip
added support for scroll-wheels.
2000-06-19 Damon Chaplin <damon@helixcode.com> * e-icon-bar-bg-item.c: * e-icon-bar.c: * e-icon-bar.h: * e-vscrolled-bar.c: added support for scroll-wheels. svn path=/trunk/; revision=3631
Diffstat (limited to 'widgets/shortcut-bar/e-icon-bar-bg-item.c')
-rw-r--r--widgets/shortcut-bar/e-icon-bar-bg-item.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/shortcut-bar/e-icon-bar-bg-item.c b/widgets/shortcut-bar/e-icon-bar-bg-item.c
index b3a62bbf5b..025bd6f467 100644
--- a/widgets/shortcut-bar/e-icon-bar-bg-item.c
+++ b/widgets/shortcut-bar/e-icon-bar-bg-item.c
@@ -323,6 +323,9 @@ e_icon_bar_bg_item_button_press (EIconBarBgItem *ibitem,
{
gint item_num;
+ if (event->button.button == 4 || event->button.button == 5)
+ return FALSE;
+
item_num = e_icon_bar_find_item_at_position (ibitem->icon_bar,
event->button.x,
event->button.y,