| 158 gaim_account_get_username(account)); |
158 gaim_account_get_username(account)); |
| 159 |
159 |
| 160 /* Mark our accounts "away" using the idleaway status */ |
160 /* Mark our accounts "away" using the idleaway status */ |
| 161 idleaway_name = gaim_prefs_get_string("/core/status/idleaway"); |
161 idleaway_name = gaim_prefs_get_string("/core/status/idleaway"); |
| 162 saved_status = gaim_savedstatus_find(idleaway_name); |
162 saved_status = gaim_savedstatus_find(idleaway_name); |
| 163 gaim_savedstatus_activate(saved_status); |
163 if (saved_status) |
| |
164 gaim_savedstatus_activate(saved_status); |
| 164 |
165 |
| 165 gc->is_auto_away = GAIM_IDLE_AUTO_AWAY; |
166 gc->is_auto_away = GAIM_IDLE_AUTO_AWAY; |
| 166 } else { |
167 } else { |
| 167 gc->is_auto_away = GAIM_IDLE_AWAY_BUT_NOT_AUTO_AWAY; |
168 gc->is_auto_away = GAIM_IDLE_AWAY_BUT_NOT_AUTO_AWAY; |
| 168 } |
169 } |