Mercurial > pidgin.yaz
comparison src/gtkaccount.c @ 12123:355c7acbb61d
[gaim-migrate @ 14423]
Renamed /core/status/default and /core/status/idleaway to
/core/savedstatus/default and /core/savedstatus/idleaway,
and removed to redundant calls to set the 'default' pref
/core/savedstatus/default is set by gaim_savedstatus_activate()
in savedstatus.c
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Fri, 18 Nov 2005 03:45:01 +0000 |
parents | 943307dd6ee9 |
children | 3c1bac709234 |
comparison
equal
deleted
inserted
replaced
12122:9b06c216e362 | 12123:355c7acbb61d |
---|---|
1623 /* If this is a new account, then sign on! */ | 1623 /* If this is a new account, then sign on! */ |
1624 if (new) { | 1624 if (new) { |
1625 const char *current_savedstatus_name; | 1625 const char *current_savedstatus_name; |
1626 const GaimSavedStatus *saved_status = NULL; | 1626 const GaimSavedStatus *saved_status = NULL; |
1627 | 1627 |
1628 current_savedstatus_name = gaim_prefs_get_string("/core/status/current"); | 1628 current_savedstatus_name = gaim_prefs_get_string("/core/savedstatus/current"); |
1629 if (current_savedstatus_name) | 1629 if (current_savedstatus_name) |
1630 saved_status = gaim_savedstatus_find(current_savedstatus_name); | 1630 saved_status = gaim_savedstatus_find(current_savedstatus_name); |
1631 | 1631 |
1632 if (saved_status) { | 1632 if (saved_status) { |
1633 gaim_savedstatus_activate_for_account(saved_status, account); | 1633 gaim_savedstatus_activate_for_account(saved_status, account); |
2185 COLUMN_DATA, &account, | 2185 COLUMN_DATA, &account, |
2186 COLUMN_ENABLED, &enabled, | 2186 COLUMN_ENABLED, &enabled, |
2187 -1); | 2187 -1); |
2188 | 2188 |
2189 /* Set the statuses for this account to the current status */ | 2189 /* Set the statuses for this account to the current status */ |
2190 current_savedstatus_name = gaim_prefs_get_string("/core/status/current"); | 2190 current_savedstatus_name = gaim_prefs_get_string("/core/savedstatus/current"); |
2191 saved_status = gaim_savedstatus_find(current_savedstatus_name); | 2191 saved_status = gaim_savedstatus_find(current_savedstatus_name); |
2192 gaim_savedstatus_activate_for_account(saved_status, account); | 2192 gaim_savedstatus_activate_for_account(saved_status, account); |
2193 | 2193 |
2194 gaim_account_set_enabled(account, GAIM_GTK_UI, !enabled); | 2194 gaim_account_set_enabled(account, GAIM_GTK_UI, !enabled); |
2195 } | 2195 } |