aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 23721be..a5af895 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -575,10 +575,13 @@ menushell_foreach_cb (DbusmenuMenuitem * data_mi, gpointer data_ms) {
static void
check_hidden (void)
{
+ g_debug("Checking Hidden...");
gboolean hide = FALSE;
if (launcherList_count() == 0) {
+ g_debug("\tZero Launchers");
/* If we don't have visible launchers we need to look more */
- if (serverList != NULL) { /* Basically if there are zero entries it'll be NULL */
+ if (g_list_length(serverList) == 0) {
+ g_debug("\tZero Applications");
hide = TRUE;
}
}