aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-07-02 06:16:50 -0500
committerTed Gould <ted@gould.cx>2011-07-02 06:16:50 -0500
commit4aad2ce250a7b7033745cbea39f6752d9b2092f7 (patch)
tree1c53b87c9e2f96638500d781f70cbd73a34fa1a7
parent48737cc43c2bbf9991a3d86889deaa482ab047c8 (diff)
downloadayatana-indicator-messages-4aad2ce250a7b7033745cbea39f6752d9b2092f7.tar.gz
ayatana-indicator-messages-4aad2ce250a7b7033745cbea39f6752d9b2092f7.tar.bz2
ayatana-indicator-messages-4aad2ce250a7b7033745cbea39f6752d9b2092f7.zip
Call the status items build function
-rw-r--r--src/messages-service.c3
-rw-r--r--src/status-items.c1
2 files changed, 4 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
#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;