diff options
author | Mark Doliner <markdoliner@pidgin.im> | 2007-09-26 06:54:16 +0000 |
---|---|---|
committer | Mark Doliner <markdoliner@pidgin.im> | 2007-09-26 06:54:16 +0000 |
commit | 9ce238bb718cac0a7a100bc328ac57d2e84e9afd (patch) | |
tree | 9933a1522a25d0f43603b6e957c52f5f331f8881 | |
parent | 465e1027e1c9901528461e91be8b49cb8b7745d3 (diff) | |
download | pidgin-9ce238bb718cac0a7a100bc328ac57d2e84e9afd.tar.gz |
Add PURPLE_STATUS_TUNE to status_primitive_map so that it has a name
-rw-r--r-- | libpurple/status.c | 3 | ||||
-rw-r--r-- | libpurple/status.h | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libpurple/status.c b/libpurple/status.c index 783349ba2d..d0f3aaa8cb 100644 --- a/libpurple/status.c +++ b/libpurple/status.c @@ -157,7 +157,8 @@ static struct PurpleStatusPrimitiveMap { PURPLE_STATUS_INVISIBLE, "invisible", N_("Invisible") }, { PURPLE_STATUS_AWAY, "away", N_("Away") }, { PURPLE_STATUS_EXTENDED_AWAY, "extended_away", N_("Extended away") }, - { PURPLE_STATUS_MOBILE, "mobile", N_("Mobile") } + { PURPLE_STATUS_MOBILE, "mobile", N_("Mobile") }, + { PURPLE_STATUS_TUNE, "tune", N_("Listening to music") } }; const char * diff --git a/libpurple/status.h b/libpurple/status.h index 7e8ddb55d7..a62e706084 100644 --- a/libpurple/status.h +++ b/libpurple/status.h @@ -94,6 +94,10 @@ typedef enum /** * A primitive defining the basic structure of a status type. */ +/* + * If you add a value to this enum, make sure you update + * the status_primitive_map array in status.c. + */ typedef enum { PURPLE_STATUS_UNSET = 0, |