# HG changeset patch # User Mark Doliner # Date 1190789656 0 # Node ID 55b11740897c4d3de2697840e60ae0a4eb0061a9 # Parent cb7d809867ac213dcf26668a179597b9cf9679c5 Add PURPLE_STATUS_TUNE to status_primitive_map so that it has a name diff -r cb7d809867ac -r 55b11740897c libpurple/status.c --- a/libpurple/status.c Tue Sep 25 09:01:03 2007 +0000 +++ b/libpurple/status.c Wed Sep 26 06:54:16 2007 +0000 @@ -157,7 +157,8 @@ { 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 -r cb7d809867ac -r 55b11740897c libpurple/status.h --- a/libpurple/status.h Tue Sep 25 09:01:03 2007 +0000 +++ b/libpurple/status.h Wed Sep 26 06:54:16 2007 +0000 @@ -94,6 +94,10 @@ /** * 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,