Mercurial > pidgin
comparison src/protocols/silc/silc.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 | fc28451f5d96 |
| children | 95a73ce6e285 |
comparison
equal
deleted
inserted
replaced
| 12657:7b816173e2c6 | 12658:a0fd3ebcd6fa |
|---|---|
| 42 silcgaim_away_states(GaimAccount *account) | 42 silcgaim_away_states(GaimAccount *account) |
| 43 { | 43 { |
| 44 GaimStatusType *type; | 44 GaimStatusType *type; |
| 45 GList *types = NULL; | 45 GList *types = NULL; |
| 46 | 46 |
| 47 type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE, SILCGAIM_STATUS_ID_OFFLINE, NULL, FALSE, TRUE, FALSE); | |
| 48 types = g_list_append(types, type); | |
| 49 type = gaim_status_type_new_full(GAIM_STATUS_AVAILABLE, SILCGAIM_STATUS_ID_AVAILABLE, NULL, FALSE, TRUE, FALSE); | 47 type = gaim_status_type_new_full(GAIM_STATUS_AVAILABLE, SILCGAIM_STATUS_ID_AVAILABLE, NULL, FALSE, TRUE, FALSE); |
| 50 types = g_list_append(types, type); | 48 types = g_list_append(types, type); |
| 51 type = gaim_status_type_new_full(GAIM_STATUS_AVAILABLE, SILCGAIM_STATUS_ID_HYPER, _("Hyper Active"), FALSE, TRUE, FALSE); | 49 type = gaim_status_type_new_full(GAIM_STATUS_AVAILABLE, SILCGAIM_STATUS_ID_HYPER, _("Hyper Active"), FALSE, TRUE, FALSE); |
| 52 types = g_list_append(types, type); | 50 types = g_list_append(types, type); |
| 53 type = gaim_status_type_new_full(GAIM_STATUS_AWAY, SILCGAIM_STATUS_ID_AWAY, NULL, FALSE, TRUE, FALSE); | 51 type = gaim_status_type_new_full(GAIM_STATUS_AWAY, SILCGAIM_STATUS_ID_AWAY, NULL, FALSE, TRUE, FALSE); |
| 55 type = gaim_status_type_new_full(GAIM_STATUS_UNAVAILABLE, SILCGAIM_STATUS_ID_BUSY, _("Busy"), FALSE, TRUE, FALSE); | 53 type = gaim_status_type_new_full(GAIM_STATUS_UNAVAILABLE, SILCGAIM_STATUS_ID_BUSY, _("Busy"), FALSE, TRUE, FALSE); |
| 56 types = g_list_append(types, type); | 54 types = g_list_append(types, type); |
| 57 type = gaim_status_type_new_full(GAIM_STATUS_AWAY, SILCGAIM_STATUS_ID_INDISPOSED, _("Indisposed"), FALSE, TRUE, FALSE); | 55 type = gaim_status_type_new_full(GAIM_STATUS_AWAY, SILCGAIM_STATUS_ID_INDISPOSED, _("Indisposed"), FALSE, TRUE, FALSE); |
| 58 types = g_list_append(types, type); | 56 types = g_list_append(types, type); |
| 59 type = gaim_status_type_new_full(GAIM_STATUS_AWAY, SILCGAIM_STATUS_ID_PAGE, _("Wake Me Up"), FALSE, TRUE, FALSE); | 57 type = gaim_status_type_new_full(GAIM_STATUS_AWAY, SILCGAIM_STATUS_ID_PAGE, _("Wake Me Up"), FALSE, TRUE, FALSE); |
| 58 types = g_list_append(types, type); | |
| 59 type = gaim_status_type_new_full(GAIM_STATUS_OFFLINE, SILCGAIM_STATUS_ID_OFFLINE, NULL, FALSE, TRUE, FALSE); | |
| 60 types = g_list_append(types, type); | 60 types = g_list_append(types, type); |
| 61 | 61 |
| 62 return types; | 62 return types; |
| 63 } | 63 } |
| 64 | 64 |
