aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-07 21:00:10 -0600
committerTed Gould <ted@gould.cx>2010-01-07 21:00:10 -0600
commitcb14ba38535788494734b0a775148ec873231f07 (patch)
treec91f2e7e2e566b65c28e6dc94920d1af12c3fd49 /src
parentd1fbe4a73eb979b25bb0a063c621442a1ec06f3e (diff)
downloadlibayatana-appindicator-cb14ba38535788494734b0a775148ec873231f07.tar.gz
libayatana-appindicator-cb14ba38535788494734b0a775148ec873231f07.tar.bz2
libayatana-appindicator-cb14ba38535788494734b0a775148ec873231f07.zip
Pretty major cut and paste error. Wrong icon.
Diffstat (limited to 'src')
-rw-r--r--src/libappindicator/app-indicator.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index d22161c..a17a46c 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -698,14 +698,14 @@ app_indicator_set_icon (AppIndicator *self, const gchar *icon_name)
g_return_if_fail (IS_APP_INDICATOR (self));
g_return_if_fail (icon_name != NULL);
- if (g_strcmp0 (self->priv->attention_icon_name, icon_name) != 0)
+ if (g_strcmp0 (self->priv->icon_name, icon_name) != 0)
{
- if (self->priv->attention_icon_name)
- g_free (self->priv->attention_icon_name);
+ if (self->priv->icon_name)
+ g_free (self->priv->icon_name);
- self->priv->attention_icon_name = g_strdup (icon_name);
+ self->priv->icon_name = g_strdup (icon_name);
- g_signal_emit (self, signals[NEW_ATTENTION_ICON], 0, TRUE);
+ g_signal_emit (self, signals[NEW_ICON], 0, TRUE);
}
}