diff options
author | Ted Gould <ted@gould.cx> | 2010-03-12 16:08:28 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-12 16:08:28 -0600 |
commit | 91d75debaa1a5aa7c210da029ab123c96633225b (patch) | |
tree | a4a141a564cf475cf13e0c00a31228355b84b932 /src/session-service.c | |
parent | 78211dc46ae22a439653df6db0f3b6e9c67160f0 (diff) | |
download | ayatana-indicator-session-91d75debaa1a5aa7c210da029ab123c96633225b.tar.gz ayatana-indicator-session-91d75debaa1a5aa7c210da029ab123c96633225b.tar.bz2 ayatana-indicator-session-91d75debaa1a5aa7c210da029ab123c96633225b.zip |
Making our service come up a little earlier
Diffstat (limited to 'src/session-service.c')
-rw-r--r-- | src/session-service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/session-service.c b/src/session-service.c index b88ee30..75c8650 100644 --- a/src/session-service.c +++ b/src/session-service.c @@ -674,6 +674,8 @@ main (int argc, char ** argv) INDICATOR_SERVICE_SIGNAL_SHUTDOWN, G_CALLBACK(service_shutdown), NULL); + session_dbus = session_dbus_new(); + g_idle_add(lock_screen_setup, NULL); root_menuitem = dbusmenu_menuitem_new(); @@ -699,8 +701,6 @@ main (int argc, char ** argv) DbusmenuServer * server = dbusmenu_server_new(INDICATOR_SESSION_DBUS_OBJECT); dbusmenu_server_set_root(server, root_menuitem); - session_dbus = session_dbus_new(); - mainloop = g_main_loop_new(NULL, FALSE); g_main_loop_run(mainloop); |