aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-appstore.c
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2010-02-19 12:22:35 -0500
committerKen VanDine <ken.vandine@canonical.com>2010-02-19 12:22:35 -0500
commitb1e72a50c92348a707396990cea5474143bff8cf (patch)
tree3e31c816c53f104dd29f23d54ed96c147ca60996 /src/application-service-appstore.c
parent494d1b10b3a202806b988945ec485d33b7801dfe (diff)
downloadayatana-indicator-application-b1e72a50c92348a707396990cea5474143bff8cf.tar.gz
ayatana-indicator-application-b1e72a50c92348a707396990cea5474143bff8cf.tar.bz2
ayatana-indicator-application-b1e72a50c92348a707396990cea5474143bff8cf.zip
Cherry picked fix to check for a null string as the attention icon
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;
}