aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-30 16:46:42 -0500
committerTed Gould <ted@canonical.com>2009-06-30 16:46:42 -0500
commit17e41d8a3a128e07189fd3163900390372c2b07c (patch)
tree2cee3f3106971f7db5ba0ca5232c196d2f57e8c1 /src
parentf084e851c5ef36e6afa920c9198c4a53e7f7c1c3 (diff)
downloadayatana-indicator-session-17e41d8a3a128e07189fd3163900390372c2b07c.tar.gz
ayatana-indicator-session-17e41d8a3a128e07189fd3163900390372c2b07c.tar.bz2
ayatana-indicator-session-17e41d8a3a128e07189fd3163900390372c2b07c.zip
Some debugging info.
Diffstat (limited to 'src')
-rw-r--r--src/indicator-sus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/indicator-sus.c b/src/indicator-sus.c
index 7deb6e8..18b6c44 100644
--- a/src/indicator-sus.c
+++ b/src/indicator-sus.c
@@ -158,6 +158,7 @@ status_menu_root_changed(DbusmenuGtkClient * client, DbusmenuMenuitem * newroot,
static gboolean
build_status_menu (gpointer userdata)
{
+ g_debug("Building Status Menu");
guint returnval = 0;
GError * error = NULL;
@@ -247,6 +248,7 @@ users_menu_root_changed(DbusmenuGtkClient * client, DbusmenuMenuitem * newroot,
static gboolean
build_users_menu (gpointer userdata)
{
+ g_debug("Building Users Menu");
guint returnval = 0;
GError * error = NULL;
@@ -324,6 +326,7 @@ session_menu_root_changed(DbusmenuGtkClient * client, DbusmenuMenuitem * newroot
static gboolean
build_session_menu (gpointer userdata)
{
+ g_debug("Building Session Menu");
guint returnval = 0;
GError * error = NULL;
@@ -356,6 +359,9 @@ get_menu (void)
{
connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL);
proxy = dbus_g_proxy_new_for_name(connection, DBUS_SERVICE_DBUS, DBUS_PATH_DBUS, DBUS_INTERFACE_DBUS);
+ if (proxy == NULL) {
+ g_warning("Unable to get proxy for DBus itself. Seriously.");
+ }
g_idle_add(build_status_menu, NULL);
g_idle_add(build_users_menu, NULL);