Mercurial > pidgin
comparison src/protocols/irc/irc.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 | 91424393b70b |
comparison
equal
deleted
inserted
replaced
| 12657:7b816173e2c6 | 12658:a0fd3ebcd6fa |
|---|---|
| 161 static GList *irc_status_types(GaimAccount *account) | 161 static GList *irc_status_types(GaimAccount *account) |
| 162 { | 162 { |
| 163 GaimStatusType *type; | 163 GaimStatusType *type; |
| 164 GList *types = NULL; | 164 GList *types = NULL; |
| 165 | 165 |
| 166 type = gaim_status_type_new(GAIM_STATUS_OFFLINE, NULL, NULL, TRUE); | |
| 167 types = g_list_append(types, type); | |
| 168 | |
| 169 type = gaim_status_type_new(GAIM_STATUS_AVAILABLE, NULL, NULL, TRUE); | 166 type = gaim_status_type_new(GAIM_STATUS_AVAILABLE, NULL, NULL, TRUE); |
| 170 types = g_list_append(types, type); | 167 types = g_list_append(types, type); |
| 171 | 168 |
| 172 type = gaim_status_type_new_with_attrs( | 169 type = gaim_status_type_new_with_attrs( |
| 173 GAIM_STATUS_AWAY, NULL, NULL, TRUE, TRUE, FALSE, | 170 GAIM_STATUS_AWAY, NULL, NULL, TRUE, TRUE, FALSE, |
| 174 "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), | 171 "message", _("Message"), gaim_value_new(GAIM_TYPE_STRING), |
| 175 NULL); | 172 NULL); |
| 173 types = g_list_append(types, type); | |
| 174 | |
| 175 type = gaim_status_type_new(GAIM_STATUS_OFFLINE, NULL, NULL, TRUE); | |
| 176 types = g_list_append(types, type); | 176 types = g_list_append(types, type); |
| 177 | 177 |
| 178 return types; | 178 return types; |
| 179 } | 179 } |
| 180 | 180 |
