diff options
author | Ted Gould <ted@gould.cx> | 2010-02-22 08:59:48 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-22 08:59:48 -0600 |
commit | 0135db576c376ad2afb6f62d51347bcd94ca4276 (patch) | |
tree | 42e336e0c8a037c11c1c9ab33d63f416f4223dc3 /src/application-service-appstore.c | |
parent | 96f2eb92c8ce54792cd48d3f8a558074b8132b92 (diff) | |
parent | 780acae841999f6d3a9c03031daff5783c301750 (diff) | |
download | libayatana-appindicator-0135db576c376ad2afb6f62d51347bcd94ca4276.tar.gz libayatana-appindicator-0135db576c376ad2afb6f62d51347bcd94ca4276.tar.bz2 libayatana-appindicator-0135db576c376ad2afb6f62d51347bcd94ca4276.zip |
Properly look for null strings in the attention icon.
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r-- | src/application-service-appstore.c | 2 |
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; } |