Mercurial > pidgin
comparison src/protocols/simple/simple.c @ 12657:7b816173e2c6
[gaim-migrate @ 15000]
List "online" before "offline" in the SIP/SIMPLE plugin
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 25 Dec 2005 18:52:49 +0000 |
| parents | fc28451f5d96 |
| children | 5f65a0cca87c |
comparison
equal
deleted
inserted
replaced
| 12656:60cce1861e59 | 12657:7b816173e2c6 |
|---|---|
| 244 | 244 |
| 245 static GList *simple_status_types(GaimAccount *acc) { | 245 static GList *simple_status_types(GaimAccount *acc) { |
| 246 GaimStatusType *type; | 246 GaimStatusType *type; |
| 247 GList *types = NULL; | 247 GList *types = NULL; |
| 248 | 248 |
| 249 type = gaim_status_type_new_full( | |
| 250 GAIM_STATUS_OFFLINE, NULL, NULL, TRUE, TRUE, FALSE); | |
| 251 types = g_list_append(types, type); | |
| 252 | |
| 253 type = gaim_status_type_new_with_attrs( | 249 type = gaim_status_type_new_with_attrs( |
| 254 GAIM_STATUS_AVAILABLE, NULL, NULL, TRUE, TRUE, FALSE, | 250 GAIM_STATUS_AVAILABLE, NULL, NULL, TRUE, TRUE, FALSE, |
| 255 "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), | 251 "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), |
| 256 NULL); | 252 NULL); |
| 253 types = g_list_append(types, type); | |
| 254 | |
| 255 type = gaim_status_type_new_full( | |
| 256 GAIM_STATUS_OFFLINE, NULL, NULL, TRUE, TRUE, FALSE); | |
| 257 types = g_list_append(types, type); | 257 types = g_list_append(types, type); |
| 258 | 258 |
| 259 return types; | 259 return types; |
| 260 } | 260 } |
| 261 | 261 |
