Mercurial > pidgin.yaz
comparison pidgin/gtkblist.h @ 21375:50fa2c5a7029
Deprecate pidgin_blist_update_account_error_state() and
PidginBuddyList.connection_errors; update ChangeLog.API.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sun, 28 Oct 2007 16:43:16 +0000 |
parents | 4511d15a8f80 |
children | 86b0dc1f60ae |
comparison
equal
deleted
inserted
replaced
21374:71c1f2da4ff2 | 21375:50fa2c5a7029 |
---|---|
82 | 82 |
83 GtkItemFactory *ift; | 83 GtkItemFactory *ift; |
84 GtkWidget *menutray; /**< The menu tray widget. */ | 84 GtkWidget *menutray; /**< The menu tray widget. */ |
85 GtkWidget *menutrayicon; /**< The menu tray icon. */ | 85 GtkWidget *menutrayicon; /**< The menu tray icon. */ |
86 | 86 |
87 GHashTable *connection_errors; /**< Caches connection error messages and accounts. */ | 87 /** Caches connection error messages; keys are #PurpleAccount and |
88 * values are non-@c NULL <tt>const char *</tt>s containing localised | |
89 * error messages. (If an account does not have an error, it will not | |
90 * appear in the table.) | |
91 * @deprecated in favour of purple_account_get_current_error(), which also | |
92 * gives you the #PurpleConnectionError value. | |
93 */ | |
94 GHashTable *connection_errors; | |
88 | 95 |
89 guint refresh_timer; /**< The timer for refreshing every 30 seconds */ | 96 guint refresh_timer; /**< The timer for refreshing every 30 seconds */ |
90 | 97 |
91 guint timeout; /**< The timeout for the tooltip. */ | 98 guint timeout; /**< The timeout for the tooltip. */ |
92 guint drag_timeout; /**< The timeout for expanding contacts on drags */ | 99 guint drag_timeout; /**< The timeout for expanding contacts on drags */ |
337 * TODO: Rename these. | 344 * TODO: Rename these. |
338 */ | 345 */ |
339 void pidgin_append_blist_node_extended_menu(GtkWidget *menu, PurpleBlistNode *node); | 346 void pidgin_append_blist_node_extended_menu(GtkWidget *menu, PurpleBlistNode *node); |
340 | 347 |
341 /** | 348 /** |
342 * Used by the connection API to tell the blist if an account | 349 * Was used by the connection API to tell the blist if an account has a |
343 * has a connection error or no longer has a connection error. | 350 * connection error or no longer has a connection error, but the blist now does |
351 * this itself with the @ref account-error-changed signal. | |
344 * | 352 * |
345 * @param account The account that either has a connection error | 353 * @param account The account that either has a connection error |
346 * or no longer has a connection error. | 354 * or no longer has a connection error. |
347 * @param message The connection error message, or NULL if this | 355 * @param message The connection error message, or NULL if this |
348 * account is no longer in an error state. | 356 * account is no longer in an error state. |
357 * @deprecated There was no good reason for code other than gtkconn to call | |
358 * this. | |
349 */ | 359 */ |
350 void pidgin_blist_update_account_error_state(PurpleAccount *account, const char *message); | 360 void pidgin_blist_update_account_error_state(PurpleAccount *account, const char *message); |
351 | 361 |
352 /** | 362 /** |
353 * Sets a headline notification | 363 * Sets a headline notification |