diff options
author | Ted Gould <ted@gould.cx> | 2010-01-08 14:37:48 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-08 14:37:48 -0600 |
commit | d8cb0ba32a1cc4fd9a9f9f22e3c0c6ed9728f2f2 (patch) | |
tree | b03665e65dff854de955ec13891791e61cf84746 /src/libappindicator/app-indicator.c | |
parent | a5753822cc80f3f579aa61801b54134b3baa8076 (diff) | |
parent | 5f797d71ef38ddb421e9b26757df8d3e87b84bce (diff) | |
download | libayatana-appindicator-d8cb0ba32a1cc4fd9a9f9f22e3c0c6ed9728f2f2.tar.gz libayatana-appindicator-d8cb0ba32a1cc4fd9a9f9f22e3c0c6ed9728f2f2.tar.bz2 libayatana-appindicator-d8cb0ba32a1cc4fd9a9f9f22e3c0c6ed9728f2f2.zip |
Icons branch
Diffstat (limited to 'src/libappindicator/app-indicator.c')
-rw-r--r-- | src/libappindicator/app-indicator.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 9a2e2a1..5868a4d 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); } } |