aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Baars <svenb.linux@gmail.com>2011-07-29 14:25:03 +0200
committerSven Baars <svenb.linux@gmail.com>2011-07-29 14:25:03 +0200
commit869364e9e4fabcfb535d2ef219eb54159cd8a584 (patch)
tree2ebe675b50fa01d13c7bd9b7291009ee44943709
parent0e09129f85bcfba44880654507cb9093c4298f25 (diff)
downloadayatana-indicator-messages-869364e9e4fabcfb535d2ef219eb54159cd8a584.tar.gz
ayatana-indicator-messages-869364e9e4fabcfb535d2ef219eb54159cd8a584.tar.bz2
ayatana-indicator-messages-869364e9e4fabcfb535d2ef219eb54159cd8a584.zip
emesene: Change OFFLINE to INVISIBLE and add a new OFFLINE status
-rw-r--r--src/status-provider-emesene.c12
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
};