aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-09-16 14:38:53 +0000
committerTarmac <Unknown>2013-09-16 14:38:53 +0000
commitd6cd512155fba51b5fc2d6e972912268ed47cfde (patch)
treed20e9b273c825db2a5d4ab1f76c3ed13d6718b94
parente95f3161c4e39add629bc30ee35f2bf658103886 (diff)
parenta947c803ec95dd168e2146cf498c45a69f26520f (diff)
downloadayatana-ido-d6cd512155fba51b5fc2d6e972912268ed47cfde.tar.gz
ayatana-ido-d6cd512155fba51b5fc2d6e972912268ed47cfde.tar.bz2
ayatana-ido-d6cd512155fba51b5fc2d6e972912268ed47cfde.zip
Reverse slider movement when scrolling by default. Fixes: https://bugs.launchpad.net/bugs/1225330.
Approved by Ted Gould, PS Jenkins bot.
-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