diff options
author | Ted Gould <ted@gould.cx> | 2010-08-11 22:26:47 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-08-11 22:26:47 -0500 |
commit | 98252b227acb7d969aed26490dab7cba13298a7c (patch) | |
tree | 465d45d7722a4a0b2ed2e557277f0a0685393ded | |
parent | fa45eaa48e679ddf2c264185e624723a7c1c27ac (diff) | |
download | ayatana-indicator-application-98252b227acb7d969aed26490dab7cba13298a7c.tar.gz ayatana-indicator-application-98252b227acb7d969aed26490dab7cba13298a7c.tar.bz2 ayatana-indicator-application-98252b227acb7d969aed26490dab7cba13298a7c.zip |
Making sure to only list the visible applications.
-rw-r--r-- | src/application-service-appstore.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 1b10033..6e666bc 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -914,6 +914,10 @@ _application_service_server_get_applications (ApplicationServiceAppstore * appst for (listpntr = priv->applications; listpntr != NULL; listpntr = g_list_next(listpntr)) { Application * app = (Application *)listpntr->data; + if (app->visible_state == VISIBLE_STATE_HIDDEN) { + continue; + } + GValueArray * values = g_value_array_new(5); GValue value = {0}; |