From 5960d8f7683d83a8e20a4eb924a506afa33e8adc Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 2 Mar 2012 17:02:32 -0600 Subject: Cleaning up switch statement to be more readable --- src/application-service-appstore.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 5d4296d..2663003 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -284,14 +284,23 @@ bus_method_call (GDBusConnection * connection, const gchar * sender, switch (direction) { case INDICATOR_OBJECT_SCROLL_UP: delta = -delta; + orientation = "vertical"; + break; case INDICATOR_OBJECT_SCROLL_DOWN: + /* delta unchanged */ orientation = "vertical"; break; - case INDICATOR_OBJECT_SCROLL_LEFT: delta = -delta; + orientation = "horizontal"; + break; case INDICATOR_OBJECT_SCROLL_RIGHT: + /* delta unchanged */ orientation = "horizontal"; + break; + default: + g_assert_not_reached(); + break; } app = find_application_by_menu(service, dbusaddress, dbusmenuobject); -- cgit v1.2.3 From 29bf37b41e425feac66cd634d78d92c9ebb1af9e Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 9 Mar 2012 15:09:19 -0600 Subject: 0.4.92 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index d32c95f..3e714eb 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,11 @@ -AC_INIT(indicator-application, 0.4.91, ted@canonical.com) +AC_INIT(indicator-application, 0.4.92, ted@canonical.com) AC_COPYRIGHT([Copyright 2009, 2010 Canonical]) AC_PREREQ(2.53) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(indicator-application, 0.4.91) +AM_INIT_AUTOMAKE(indicator-application, 0.4.92) AM_MAINTAINER_MODE -- cgit v1.2.3 From 7045c3ef11adfad6cc0b468ce07acd3d68325d1e Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 9 Mar 2012 15:15:21 -0600 Subject: releasing version 0.4.92-0ubuntu1~ppa1 --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5ac0fbb..971dbee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,10 +1,10 @@ -indicator-application (0.4.92-0ubuntu1~ppa1) UNRELEASED; urgency=low +indicator-application (0.4.92-0ubuntu1~ppa1) precise; urgency=low * New upstream release. * Explicitly specifying GVariant Builder types * Cleaning up a switch statement (LP: #944236) - -- Ted Gould Fri, 09 Mar 2012 15:13:33 -0600 + -- Ted Gould Fri, 09 Mar 2012 15:15:19 -0600 indicator-application (0.4.91-0ubuntu2) precise; urgency=low -- cgit v1.2.3