aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-appstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r--src/application-service-appstore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 73fc5d1..85d72f7 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -578,10 +578,12 @@ apply_status (Application * app)
ApplicationServiceAppstore * appstore = app->appstore;
ApplicationServiceAppstorePrivate * priv = appstore->priv;
+ g_debug("Applying status. Status: %d Approved by: %d Approvers: %d Visible: %d", app->status, g_list_length(app->approved_by), g_list_length(priv->approvers), app->visible_state);
+
visible_state_t goal_state = VISIBLE_STATE_HIDDEN;
if (app->status != APP_INDICATOR_STATUS_PASSIVE &&
- g_list_length(app->approved_by) == g_list_length(priv->approvers)) {
+ g_list_length(app->approved_by) >= g_list_length(priv->approvers)) {
goal_state = VISIBLE_STATE_SHOWN;
}