libpurple/status.c

branch
cpw.rekkanoryo.icqxstatus
changeset 24907
13118548c74c
parent 23389
6c30d2766837
child 26657
1067482b6de1
equal deleted inserted replaced
24906:4070aa2c4ce5 24907:13118548c74c
133 -50, /* invisible */ 133 -50, /* invisible */
134 -100, /* away */ 134 -100, /* away */
135 -200, /* extended away */ 135 -200, /* extended away */
136 -400, /* mobile */ 136 -400, /* mobile */
137 0, /* tune */ 137 0, /* tune */
138 0, /* mood */
138 -10, /* idle, special case. */ 139 -10, /* idle, special case. */
139 -5, /* idle time, special case. */ 140 -5, /* idle time, special case. */
140 10 /* Offline messageable */ 141 10 /* Offline messageable */
141 }; 142 };
142 143
153 const char *id; 154 const char *id;
154 const char *name; 155 const char *name;
155 156
156 } const status_primitive_map[] = 157 } const status_primitive_map[] =
157 { 158 {
158 { PURPLE_STATUS_UNSET, "unset", N_("Unset") }, 159 { PURPLE_STATUS_UNSET, "unset", N_("Unset") },
159 { PURPLE_STATUS_OFFLINE, "offline", N_("Offline") }, 160 { PURPLE_STATUS_OFFLINE, "offline", N_("Offline") },
160 { PURPLE_STATUS_AVAILABLE, "available", N_("Available") }, 161 { PURPLE_STATUS_AVAILABLE, "available", N_("Available") },
161 { PURPLE_STATUS_UNAVAILABLE, "unavailable", N_("Do not disturb") }, 162 { PURPLE_STATUS_UNAVAILABLE, "unavailable", N_("Do not disturb") },
162 { PURPLE_STATUS_INVISIBLE, "invisible", N_("Invisible") }, 163 { PURPLE_STATUS_INVISIBLE, "invisible", N_("Invisible") },
163 { PURPLE_STATUS_AWAY, "away", N_("Away") }, 164 { PURPLE_STATUS_AWAY, "away", N_("Away") },
164 { PURPLE_STATUS_EXTENDED_AWAY, "extended_away", N_("Extended away") }, 165 { PURPLE_STATUS_EXTENDED_AWAY, "extended_away", N_("Extended away") },
165 { PURPLE_STATUS_MOBILE, "mobile", N_("Mobile") }, 166 { PURPLE_STATUS_MOBILE, "mobile", N_("Mobile") },
166 { PURPLE_STATUS_TUNE, "tune", N_("Listening to music") } 167 { PURPLE_STATUS_TUNE, "tune", N_("Listening to music"), },
168 { PURPLE_STATUS_MOOD, "mood", N_("Feeling") },
167 }; 169 };
168 170
169 const char * 171 const char *
170 purple_primitive_get_id_from_type(PurpleStatusPrimitive type) 172 purple_primitive_get_id_from_type(PurpleStatusPrimitive type)
171 { 173 {

mercurial