aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-22 08:59:48 -0600
committerTed Gould <ted@gould.cx>2010-02-22 08:59:48 -0600
commit0135db576c376ad2afb6f62d51347bcd94ca4276 (patch)
tree42e336e0c8a037c11c1c9ab33d63f416f4223dc3 /src
parent96f2eb92c8ce54792cd48d3f8a558074b8132b92 (diff)
parent780acae841999f6d3a9c03031daff5783c301750 (diff)
downloadayatana-indicator-application-0135db576c376ad2afb6f62d51347bcd94ca4276.tar.gz
ayatana-indicator-application-0135db576c376ad2afb6f62d51347bcd94ca4276.tar.bz2
ayatana-indicator-application-0135db576c376ad2afb6f62d51347bcd94ca4276.zip
Properly look for null strings in the attention icon.
Diffstat (limited to 'src')
-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;
}