Mercurial > pidgin.yaz
comparison src/protocols/sametime/sametime.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 | da9fd490cef9 |
comparison
equal
deleted
inserted
replaced
12657:7b816173e2c6 | 12658:a0fd3ebcd6fa |
---|---|
3227 | 3227 |
3228 static GList *mw_prpl_status_types(GaimAccount *acct) { | 3228 static GList *mw_prpl_status_types(GaimAccount *acct) { |
3229 GList *types = NULL; | 3229 GList *types = NULL; |
3230 GaimStatusType *type; | 3230 GaimStatusType *type; |
3231 | 3231 |
3232 type = gaim_status_type_new(GAIM_STATUS_OFFLINE, MW_STATE_OFFLINE, | |
3233 NULL, TRUE); | |
3234 types = g_list_append(types, type); | |
3235 | |
3236 type = gaim_status_type_new(GAIM_STATUS_AVAILABLE, MW_STATE_ACTIVE, | 3232 type = gaim_status_type_new(GAIM_STATUS_AVAILABLE, MW_STATE_ACTIVE, |
3237 _("Active"), TRUE); | 3233 _("Active"), TRUE); |
3238 gaim_status_type_add_attr(type, MW_STATE_MESSAGE, _("Message"), | 3234 gaim_status_type_add_attr(type, MW_STATE_MESSAGE, _("Message"), |
3239 gaim_value_new(GAIM_TYPE_STRING)); | 3235 gaim_value_new(GAIM_TYPE_STRING)); |
3240 types = g_list_append(types, type); | 3236 types = g_list_append(types, type); |
3249 _("Do Not Disturb"), TRUE); | 3245 _("Do Not Disturb"), TRUE); |
3250 gaim_status_type_add_attr(type, MW_STATE_MESSAGE, _("Message"), | 3246 gaim_status_type_add_attr(type, MW_STATE_MESSAGE, _("Message"), |
3251 gaim_value_new(GAIM_TYPE_STRING)); | 3247 gaim_value_new(GAIM_TYPE_STRING)); |
3252 types = g_list_append(types, type); | 3248 types = g_list_append(types, type); |
3253 | 3249 |
3250 type = gaim_status_type_new(GAIM_STATUS_OFFLINE, MW_STATE_OFFLINE, | |
3251 NULL, TRUE); | |
3252 types = g_list_append(types, type); | |
3253 | |
3254 return types; | 3254 return types; |
3255 } | 3255 } |
3256 | 3256 |
3257 | 3257 |
3258 static void conf_create_prompt_cancel(GaimBuddy *buddy, | 3258 static void conf_create_prompt_cancel(GaimBuddy *buddy, |