Mercurial > pidgin.yaz
comparison src/account.h @ 11249:b4b1be482b4e
[gaim-migrate @ 13418]
sf patch #1235519, from Sadrul Habib Chowdhury
This is a pretty big patch that makes Gaim correctly save and restore
the current status (away/available, away message, available message,
invisible, etc).
The GaimGtkStatusBoxWidget thing I think defaults to "Available"
every time its created, which overrides the setting that was saved
to the XML file. So that still needs to be fixed before this will
really work.
Anyway, mad props to Sadrul for putting up with my requests on this patch
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Aug 2005 05:22:09 +0000 |
parents | bd8ac1d4b2f2 |
children | ad9a61894d9b |
comparison
equal
deleted
inserted
replaced
11248:a2eababc78a8 | 11249:b4b1be482b4e |
---|---|
272 */ | 272 */ |
273 void gaim_account_set_presence(GaimAccount *account, GaimPresence *presence); | 273 void gaim_account_set_presence(GaimAccount *account, GaimPresence *presence); |
274 | 274 |
275 /** | 275 /** |
276 * Activates or deactivates a status. All changes to the statuses of | 276 * Activates or deactivates a status. All changes to the statuses of |
277 * an account go through this function or gaim_account_set_status_vargs. | 277 * an account go through this function or gaim_account_set_status_vargs |
278 * or gaim_account_set_status_list. | |
278 * | 279 * |
279 * Only independent statuses can be deactivated with this. To deactivate | 280 * Only independent statuses can be deactivated with this. To deactivate |
280 * an exclusive status, activate a different (and exclusive?) status. | 281 * an exclusive status, activate a different (and exclusive?) status. |
281 * | 282 * |
282 * @param account The account. | 283 * @param account The account. |
289 gboolean active, ...); | 290 gboolean active, ...); |
290 | 291 |
291 | 292 |
292 /** | 293 /** |
293 * Activates or deactivates a status. All changes to the statuses of | 294 * Activates or deactivates a status. All changes to the statuses of |
294 * an account go through this function or gaim_account_set_status. | 295 * an account go through this function or gaim_account_set_status or |
296 * gaim_account_set_status_list. | |
295 * | 297 * |
296 * Only independent statuses can be deactivated with this. To deactivate | 298 * Only independent statuses can be deactivated with this. To deactivate |
297 * an exclusive status, activate a different (and exclusive?) status. | 299 * an exclusive status, activate a different (and exclusive?) status. |
298 * | 300 * |
299 * @param account The account. | 301 * @param account The account. |
304 void gaim_account_set_status_vargs(GaimAccount *account, | 306 void gaim_account_set_status_vargs(GaimAccount *account, |
305 const char *status_id, | 307 const char *status_id, |
306 gboolean active, va_list args); | 308 gboolean active, va_list args); |
307 | 309 |
308 /** | 310 /** |
311 * Activates or deactivates a status. All changes to the statuses of | |
312 * an account go through this function or gaim_account_set_status or | |
313 * gaim_account_set_status_vargs. | |
314 * | |
315 * Only independent statuses can be deactivated with this. To deactivate | |
316 * an exclusive status, activate a different (and exclusive?) status. | |
317 * | |
318 * @param account The account. | |
319 * @param status_id The ID of the status. | |
320 * @param active The active state. | |
321 * @param attrs A list of attributes in key/value pairs | |
322 */ | |
323 void gaim_account_set_status_list(GaimAccount *account, | |
324 const char *status_id, | |
325 gboolean active, GList *attrs); | |
326 | |
327 /** | |
309 * Clears all protocol-specific settings on an account. | 328 * Clears all protocol-specific settings on an account. |
310 * | 329 * |
311 * @param account The account. | 330 * @param account The account. |
312 */ | 331 */ |
313 void gaim_account_clear_settings(GaimAccount *account); | 332 void gaim_account_clear_settings(GaimAccount *account); |