diff options
author | Ted Gould <ted@gould.cx> | 2011-08-17 14:25:34 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-08-17 14:25:34 -0500 |
commit | 69a39e6483976dadddbf4a02f23b7bad57dbcf03 (patch) | |
tree | a752195357d733d7d37e4801671de0a32592a39f /src | |
parent | 7e62cf98a12ec3580b4506a1cd61b24f303005a3 (diff) | |
parent | 869364e9e4fabcfb535d2ef219eb54159cd8a584 (diff) | |
download | ayatana-indicator-messages-69a39e6483976dadddbf4a02f23b7bad57dbcf03.tar.gz ayatana-indicator-messages-69a39e6483976dadddbf4a02f23b7bad57dbcf03.tar.bz2 ayatana-indicator-messages-69a39e6483976dadddbf4a02f23b7bad57dbcf03.zip |
Fix Emense statuses
Diffstat (limited to 'src')
-rw-r--r-- | src/status-provider-emesene.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/status-provider-emesene.c b/src/status-provider-emesene.c index 29a8a22..5aa6698 100644 --- a/src/status-provider-emesene.c +++ b/src/status-provider-emesene.c @@ -31,25 +31,27 @@ with this program. If not, see <http://www.gnu.org/licenses/>. typedef enum { EM_STATUS_ONLINE, - EM_STATUS_OFFLINE, + EM_STATUS_INVISIBLE, EM_STATUS_BUSY, EM_STATUS_AWAY, - EM_STATUS_IDLE + EM_STATUS_IDLE, + EM_STATUS_OFFLINE } em_status_t; static const StatusProviderStatus em_to_sp_map[] = { /* EM_STATUS_ONLINE, */ STATUS_PROVIDER_STATUS_ONLINE, - /* EM_STATUS_OFFLINE, */ STATUS_PROVIDER_STATUS_OFFLINE, + /* EM_STATUS_INVISIBLE, */ STATUS_PROVIDER_STATUS_INVISIBLE, /* EM_STATUS_BUSY, */ STATUS_PROVIDER_STATUS_DND, /* EM_STATUS_AWAY, */ STATUS_PROVIDER_STATUS_AWAY, - /* EM_STATUS_IDLE, */ STATUS_PROVIDER_STATUS_AWAY + /* EM_STATUS_IDLE, */ STATUS_PROVIDER_STATUS_AWAY, + /* EM_STATUS_OFFLINE, */ STATUS_PROVIDER_STATUS_OFFLINE }; static const em_status_t sp_to_em_map[STATUS_PROVIDER_STATUS_LAST] = { /* STATUS_PROVIDER_STATUS_ONLINE, */ EM_STATUS_ONLINE, /* STATUS_PROVIDER_STATUS_AWAY, */ EM_STATUS_AWAY, /* STATUS_PROVIDER_STATUS_DND */ EM_STATUS_BUSY, - /* STATUS_PROVIDER_STATUS_INVISIBLE*/ EM_STATUS_OFFLINE, + /* STATUS_PROVIDER_STATUS_INVISIBLE*/ EM_STATUS_INVISIBLE, /* STATUS_PROVIDER_STATUS_OFFLINE */ EM_STATUS_OFFLINE, /* STATUS_PROVIDER_STATUS_DISCONNECTED*/ EM_STATUS_OFFLINE }; |