aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-09-15 20:21:14 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-09-15 20:21:14 +0200
commita947c803ec95dd168e2146cf498c45a69f26520f (patch)
treed20e9b273c825db2a5d4ab1f76c3ed13d6718b94 /src
parente95f3161c4e39add629bc30ee35f2bf658103886 (diff)
downloadayatana-ido-a947c803ec95dd168e2146cf498c45a69f26520f.tar.gz
ayatana-ido-a947c803ec95dd168e2146cf498c45a69f26520f.tar.bz2
ayatana-ido-a947c803ec95dd168e2146cf498c45a69f26520f.zip
Revert slider movement when scrolling by default
Diffstat (limited to 'src')
-rw-r--r--src/idoscalemenuitem.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index 97189fb..07e7e79 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -307,7 +307,7 @@ ido_scale_menu_item_class_init (IdoScaleMenuItemClass *item_class)
g_param_spec_boolean ("reverse-scroll-events",
"Reverse scroll events",
"Reverses how up/down scroll events are interpreted",
- FALSE,
+ TRUE,
G_PARAM_READWRITE));
/**
@@ -411,6 +411,9 @@ update_packing (IdoScaleMenuItem *self, IdoScaleMenuItemStyle style)
static void
ido_scale_menu_item_init (IdoScaleMenuItem *self)
{
+ IdoScaleMenuItemPrivate *priv = GET_PRIVATE (self);
+
+ priv->reverse_scroll = TRUE;
}
static void