diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | src/indicator-session.c | 18 |
2 files changed, 23 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index d335e8e..4801a63 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +indicator-session (0.1.5-0ubuntu1~ppa2~launch3) UNRELEASED; urgency=low + + * Starting *all* the services + + -- Ted Gould <ted@ubuntu.com> Mon, 28 Sep 2009 15:56:27 -0500 + indicator-session (0.1.5-0ubuntu1~ppa2~launch2) karmic; urgency=low * Getting a little crazy in here. diff --git a/src/indicator-session.c b/src/indicator-session.c index 470f442..64c7bc8 100644 --- a/src/indicator-session.c +++ b/src/indicator-session.c @@ -455,7 +455,23 @@ start_service (gpointer userdata) return TRUE; } - org_freedesktop_DBus_start_service_by_name_async (proxy, INDICATOR_SESSION_DBUS_NAME, 0 /* Flags */, start_service_phase2, userdata); + const gchar * service = NULL; + switch (GPOINTER_TO_INT(userdata)) { + case STATUS_SECTION: + service = INDICATOR_STATUS_DBUS_NAME; + break; + case USERS_SECTION: + service = INDICATOR_USERS_DBUS_NAME; + break; + case SESSION_SECTION: + service = INDICATOR_SESSION_DBUS_NAME; + break; + default: + g_critical("Oh, how can we get a value that we don't know!"); + return FALSE; + } + + org_freedesktop_DBus_start_service_by_name_async (proxy, service, 0 /* Flags */, start_service_phase2, userdata); return FALSE; } |