aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/launcher-menu-item.c3
-rw-r--r--src/messages-service.c5
2 files changed, 6 insertions, 2 deletions
diff --git a/src/launcher-menu-item.c b/src/launcher-menu-item.c
index d9c35a8..802575f 100644
--- a/src/launcher-menu-item.c
+++ b/src/launcher-menu-item.c
@@ -202,7 +202,8 @@ launcher_menu_item_get_eclipsed (LauncherMenuItem * li)
if (show == NULL) {
return FALSE;
}
- if (!g_strcmp0(show, "true")) {
+ g_debug("Launcher check eclipse: %s", show);
+ if (!g_strcmp0(show, "false")) {
return TRUE;
}
return FALSE;
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;
}
}