diff options
author | Ted Gould <ted@gould.cx> | 2010-01-13 08:33:04 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-01-13 08:33:04 -0600 |
commit | 5739297b7d0a67be588044a4be2163fb5cafbb78 (patch) | |
tree | 542fad7745d08afd000a76e1743a4eb61f97eb1b /src/libappindicator | |
parent | 3ac18fb423b9894b85d06acd841ce6d3f5a41132 (diff) | |
download | ayatana-indicator-application-5739297b7d0a67be588044a4be2163fb5cafbb78.tar.gz ayatana-indicator-application-5739297b7d0a67be588044a4be2163fb5cafbb78.tar.bz2 ayatana-indicator-application-5739297b7d0a67be588044a4be2163fb5cafbb78.zip |
Calling the unfallback function if we're doing this for the second time.
Diffstat (limited to 'src/libappindicator')
-rw-r--r-- | src/libappindicator/app-indicator.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 4018083..7ade413 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -603,7 +603,13 @@ register_service_cb (DBusGProxy * proxy, GError * error, gpointer data) start_fallback_timer(APP_INDICATOR(data), TRUE); } - /* TODO: Unfallback here */ + if (priv->status_icon) { + AppIndicatorClass * class = APP_INDICATOR_GET_CLASS(data); + if (class->unfallback != NULL) { + class->unfallback(APP_INDICATOR(data), priv->status_icon); + priv->status_icon = NULL; + } + } return; } |