From 4aad2ce250a7b7033745cbea39f6752d9b2092f7 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sat, 2 Jul 2011 06:16:50 -0500 Subject: Call the status items build function --- src/messages-service.c | 3 +++ src/status-items.c | 1 + 2 files changed, 4 insertions(+) diff --git a/src/messages-service.c b/src/messages-service.c index 25300ff..0db4a7e 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -40,6 +40,7 @@ with this program. If not, see . #include "dirs.h" #include "messages-service-dbus.h" #include "seen-db.h" +#include "status-items.h" static IndicatorService * service = NULL; static IndicateListener * listener = NULL; @@ -1461,6 +1462,8 @@ main (int argc, char ** argv) DbusmenuServer * server = dbusmenu_server_new(INDICATOR_MESSAGES_DBUS_OBJECT); dbusmenu_server_set_root(server, root_menuitem); + status_items_build(); + /* Start up the libindicate listener */ listener = indicate_listener_ref_default(); serverList = NULL; diff --git a/src/status-items.c b/src/status-items.c index 69d229f..3e27529 100644 --- a/src/status-items.c +++ b/src/status-items.c @@ -94,6 +94,7 @@ static gboolean provider_directory_parse (gpointer directory) { const gchar * dirname = (const gchar *)directory; + g_debug("Looking for status providers in: %s", dirname); if (!g_file_test(dirname, G_FILE_TEST_EXISTS)) { return FALSE; -- cgit v1.2.3