aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-19 11:02:18 -0600
committerTed Gould <ted@gould.cx>2010-02-19 11:02:18 -0600
commit780acae841999f6d3a9c03031daff5783c301750 (patch)
tree9dbf18bc6244a4e4bb17a17e3e43c351f5273427
parent435edba2721a55712c440bbc71fd47911680453d (diff)
downloadayatana-indicator-application-780acae841999f6d3a9c03031daff5783c301750.tar.gz
ayatana-indicator-application-780acae841999f6d3a9c03031daff5783c301750.tar.bz2
ayatana-indicator-application-780acae841999f6d3a9c03031daff5783c301750.zip
Checking for a null string as the attention icon.
-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;
}