src/idle.c

changeset 11654
3f025590a95a
parent 11287
87bec7c61fed
child 11677
89c2ab8d2ebf
equal deleted inserted replaced
11653:f6bd14b051c0 11654:3f025590a95a
145 145
146 presence = gaim_account_get_presence(account); 146 presence = gaim_account_get_presence(account);
147 147
148 if (gaim_presence_is_available(presence)) 148 if (gaim_presence_is_available(presence))
149 { 149 {
150 const char *default_name; 150 const char *idleaway_name;
151 151
152 gaim_debug_info("idle", "Making %s auto-away\n", 152 gaim_debug_info("idle", "Making %s auto-away\n",
153 gaim_account_get_username(account)); 153 gaim_account_get_username(account));
154 154
155 default_name = gaim_prefs_get_string("/core/away/default_message"); 155 /* TODO XXX STATUS AWAY CORE/UI */
156 156 /* Mark our accounts "away" using the idleaway status */
157 /* XXX STATUS AWAY CORE/UI */ 157 idleaway_name = gaim_prefs_get_string("/core/status/idleaway");
158 /* Need to set the default_name away message for this connection here */
159 158
160 gc->is_auto_away = GAIM_IDLE_AUTO_AWAY; 159 gc->is_auto_away = GAIM_IDLE_AUTO_AWAY;
161 } else { 160 } else {
162 gc->is_auto_away = GAIM_IDLE_AWAY_BUT_NOT_AUTO_AWAY; 161 gc->is_auto_away = GAIM_IDLE_AWAY_BUT_NOT_AUTO_AWAY;
163 } 162 }

mercurial