aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-appstore.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-23 09:46:26 -0600
committerTed Gould <ted@gould.cx>2010-02-23 09:46:26 -0600
commit8c0532f5eeffa2fa96493a89eb3c0be8e7ac5dbf (patch)
tree436097c273769568963c6ed1fe76b7547d535403 /src/application-service-appstore.c
parent386128abb4ef32983efd13b1e757459aa34d473b (diff)
parent4589ee89bc4ce73a430ef2b9ee43b7666be301b3 (diff)
downloadlibayatana-appindicator-8c0532f5eeffa2fa96493a89eb3c0be8e7ac5dbf.tar.gz
libayatana-appindicator-8c0532f5eeffa2fa96493a89eb3c0be8e7ac5dbf.tar.bz2
libayatana-appindicator-8c0532f5eeffa2fa96493a89eb3c0be8e7ac5dbf.zip
* Upstream merge
* Fixing automatic updating of menus * Handling the visibility of menus better * Improve testing to be more reliable * Handle null string attention icons
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r--src/application-service-appstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index ec6da50..b189a45 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -397,7 +397,7 @@ apply_status (Application * app, ApplicationStatus status)
} else {
/* Figure out which icon we should be using */
gchar * newicon = app->icon;
- if (status == APP_STATUS_ATTENTION && app->aicon != NULL) {
+ if (status == APP_STATUS_ATTENTION && app->aicon != NULL && app->aicon[0] != '\0') {
newicon = app->aicon;
}