Mercurial > pidgin.yaz
comparison src/protocols/bonjour/bonjour.c @ 12658:a0fd3ebcd6fa
[gaim-migrate @ 15001]
Move the offline status type after everything else for all protocols.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 25 Dec 2005 19:09:25 +0000 |
parents | 2926e3c3185e |
children | 82e918444965 |
comparison
equal
deleted
inserted
replaced
12657:7b816173e2c6 | 12658:a0fd3ebcd6fa |
---|---|
239 GList *status_types = NULL; | 239 GList *status_types = NULL; |
240 GaimStatusType *type; | 240 GaimStatusType *type; |
241 | 241 |
242 g_return_val_if_fail(account != NULL, NULL); | 242 g_return_val_if_fail(account != NULL, NULL); |
243 | 243 |
244 type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE, | |
245 BONJOUR_STATUS_ID_OFFLINE, | |
246 NULL, TRUE, TRUE, FALSE); | |
247 status_types = g_list_append(status_types, type); | |
248 | |
249 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, | 244 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AVAILABLE, |
250 BONJOUR_STATUS_ID_AVAILABLE, | 245 BONJOUR_STATUS_ID_AVAILABLE, |
251 NULL, TRUE, TRUE, FALSE, | 246 NULL, TRUE, TRUE, FALSE, |
252 "message", _("Message"), | 247 "message", _("Message"), |
253 gaim_value_new(GAIM_TYPE_STRING), NULL); | 248 gaim_value_new(GAIM_TYPE_STRING), NULL); |
256 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, | 251 type = gaim_status_type_new_with_attrs(GAIM_STATUS_AWAY, |
257 BONJOUR_STATUS_ID_AWAY, | 252 BONJOUR_STATUS_ID_AWAY, |
258 NULL, TRUE, TRUE, FALSE, | 253 NULL, TRUE, TRUE, FALSE, |
259 "message", _("Message"), | 254 "message", _("Message"), |
260 gaim_value_new(GAIM_TYPE_STRING), NULL); | 255 gaim_value_new(GAIM_TYPE_STRING), NULL); |
256 status_types = g_list_append(status_types, type); | |
257 | |
258 type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE, | |
259 BONJOUR_STATUS_ID_OFFLINE, | |
260 NULL, TRUE, TRUE, FALSE); | |
261 status_types = g_list_append(status_types, type); | 261 status_types = g_list_append(status_types, type); |
262 | 262 |
263 return status_types; | 263 return status_types; |
264 } | 264 } |
265 | 265 |