Fri, 13 Mar 2009 03:04:07 +0000
Move 'Minutes before becoming idle' above 'Change status when idle'
Minutes before becoming idle has an effect even when we're not doing autoaway,
so it should not be disabled then.
| 5228 | 1 | /** |
|
5248
f4f944f4dbe0
[gaim-migrate @ 5620]
Mark Doliner <markdoliner@pidgin.im>
parents:
5234
diff
changeset
|
2 | * @file gtkblist.h GTK+ Buddy List API |
|
16254
eeb2bba4dc94
Rename the Doxygen group from gtkui to pidgin.
Richard Laager <rlaager@pidgin.im>
parents:
16182
diff
changeset
|
3 | * @ingroup pidgin |
|
20890
c4253dc37ac0
ChangeLog by resiak@soc.pidgin.im:
Will Thompson <resiak@pidgin.im>
parents:
20147
diff
changeset
|
4 | * @see @ref gtkblist-signals |
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19862
diff
changeset
|
5 | */ |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19862
diff
changeset
|
6 | |
|
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19862
diff
changeset
|
7 | /* pidgin |
| 5228 | 8 | * |
| 15572 | 9 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 8046 | 10 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 11 | * source distribution. | |
| 5906 | 12 | * |
| 5228 | 13 | * This program is free software; you can redistribute it and/or modify |
| 14 | * it under the terms of the GNU General Public License as published by | |
| 15 | * the Free Software Foundation; either version 2 of the License, or | |
| 16 | * (at your option) any later version. | |
| 17 | * | |
| 18 | * This program is distributed in the hope that it will be useful, | |
| 19 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 20 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 21 | * GNU General Public License for more details. | |
| 22 | * | |
| 23 | * You should have received a copy of the GNU General Public License | |
| 24 | * along with this program; if not, write to the Free Software | |
|
19859
71d37b57eff2
The FSF changed its address a while ago; our files were out of date.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19652
diff
changeset
|
25 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5228 | 26 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
27 | #ifndef _PIDGINBLIST_H_ |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
28 | #define _PIDGINBLIST_H_ |
| 5228 | 29 | |
|
25630
f9fb8da4b5ec
Sprinkle some @copydoc directives around to shut up some doxygen whining.
Etan Reisner <deryni@pidgin.im>
parents:
21307
diff
changeset
|
30 | /** @copydoc _PidginBuddyList */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
31 | typedef struct _PidginBuddyList PidginBuddyList; |
|
5872
754c63f29b77
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5631
diff
changeset
|
32 | |
| 5228 | 33 | enum { |
| 34 | STATUS_ICON_COLUMN, | |
| 35 | STATUS_ICON_VISIBLE_COLUMN, | |
| 36 | NAME_COLUMN, | |
| 37 | IDLE_COLUMN, | |
| 14471 | 38 | IDLE_VISIBLE_COLUMN, |
| 5228 | 39 | BUDDY_ICON_COLUMN, |
| 14471 | 40 | BUDDY_ICON_VISIBLE_COLUMN, |
| 5228 | 41 | NODE_COLUMN, |
| 14471 | 42 | BGCOLOR_COLUMN, |
| 43 | GROUP_EXPANDER_COLUMN, | |
|
16182
88b7040408c8
Set the disable maximize button hint on the blist. I couldn't find a window manager that supports this, but I bet win32 does.
Sean Egan <seanegan@pidgin.im>
parents:
15931
diff
changeset
|
44 | GROUP_EXPANDER_VISIBLE_COLUMN, |
| 14471 | 45 | CONTACT_EXPANDER_COLUMN, |
| 46 | CONTACT_EXPANDER_VISIBLE_COLUMN, | |
| 15524 | 47 | EMBLEM_COLUMN, |
| 48 | EMBLEM_VISIBLE_COLUMN, | |
|
19652
b0a14d85e2e5
Fixes #2146. Adds a Show Protocol Icon option and groups related Show menu items into a submenu. Patch from Justin Heiner
Sean Egan <seanegan@pidgin.im>
parents:
19057
diff
changeset
|
49 | PROTOCOL_ICON_COLUMN, |
|
b0a14d85e2e5
Fixes #2146. Adds a Show Protocol Icon option and groups related Show menu items into a submenu. Patch from Justin Heiner
Sean Egan <seanegan@pidgin.im>
parents:
19057
diff
changeset
|
50 | PROTOCOL_ICON_VISIBLE_COLUMN, |
| 5228 | 51 | BLIST_COLUMNS |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
52 | |
|
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
53 | }; |
| 5228 | 54 | |
| 55 | typedef enum { | |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
56 | PIDGIN_STATUS_ICON_LARGE, |
|
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
57 | PIDGIN_STATUS_ICON_SMALL |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
58 | |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
59 | } PidginStatusIconSize; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
60 | |
| 15577 | 61 | #include "pidgin.h" |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
62 | #include "blist.h" |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
63 | #include "gtkblist-theme.h" |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
64 | |
| 5228 | 65 | /************************************************************************** |
| 66 | * @name Structures | |
| 67 | **************************************************************************/ | |
| 68 | /** | |
| 69 | * Like, everything you need to know about the gtk buddy list | |
| 70 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
71 | struct _PidginBuddyList { |
| 5228 | 72 | GtkWidget *window; |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
73 | GtkWidget *notebook; /**< The notebook that switches between the real buddy list and the helpful |
| 15086 | 74 | instructions page */ |
| 75 | GtkWidget *main_vbox; /**< This vbox contains the menu and notebook */ | |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
76 | GtkWidget *vbox; /**< This is the vbox that everything important gets packed into. |
| 15086 | 77 | Your plugin might want to pack something in it itself. Go, plugins! */ |
| 5228 | 78 | |
| 79 | GtkWidget *treeview; /**< It's a treeview... d'uh. */ | |
| 80 | GtkTreeStore *treemodel; /**< This is the treemodel. */ | |
| 14518 | 81 | GtkTreeViewColumn *text_column; /**< Column */ |
| 11016 | 82 | |
| 83 | GtkCellRenderer *text_rend; | |
| 5228 | 84 | |
|
5427
a45fa07ef20d
[gaim-migrate @ 5806]
Mark Doliner <markdoliner@pidgin.im>
parents:
5422
diff
changeset
|
85 | GtkItemFactory *ift; |
|
12116
17bf39d2678f
[gaim-migrate @ 14416]
Casey Harkins <charkins@pidgin.im>
parents:
12080
diff
changeset
|
86 | GtkWidget *menutray; /**< The menu tray widget. */ |
|
17bf39d2678f
[gaim-migrate @ 14416]
Casey Harkins <charkins@pidgin.im>
parents:
12080
diff
changeset
|
87 | GtkWidget *menutrayicon; /**< The menu tray icon. */ |
| 5228 | 88 | |
|
21296
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
89 | /** Caches connection error messages; keys are #PurpleAccount and |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
90 | * values are non-@c NULL <tt>const char *</tt>s containing localised |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
91 | * error messages. (If an account does not have an error, it will not |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
92 | * appear in the table.) |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
93 | * @deprecated in favour of purple_account_get_current_error(), which also |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
94 | * gives you the #PurpleConnectionError value. |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
95 | */ |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
96 | GHashTable *connection_errors; |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
97 | |
| 5228 | 98 | guint refresh_timer; /**< The timer for refreshing every 30 seconds */ |
| 99 | ||
| 100 | guint timeout; /**< The timeout for the tooltip. */ | |
| 10354 | 101 | guint drag_timeout; /**< The timeout for expanding contacts on drags */ |
| 7636 | 102 | GdkRectangle tip_rect; /**< This is the bounding rectangle of the |
| 103 | cell we're currently hovering over. This is | |
| 104 | used for tooltips. */ | |
| 105 | GdkRectangle contact_rect; /**< This is the bounding rectangle of the contact node | |
| 106 | and its children. This is used for auto-expand on | |
| 107 | mouseover. */ | |
| 15884 | 108 | PurpleBlistNode *mouseover_contact; /**< This is the contact currently mouse-over expanded */ |
| 7636 | 109 | |
| 5228 | 110 | GtkWidget *tipwindow; /**< The window used by the tooltip */ |
| 11890 | 111 | GList *tooltipdata; /**< The data for each "chunk" of the tooltip */ |
| 5228 | 112 | |
| 15884 | 113 | PurpleBlistNode *selected_node; /**< The currently selected node */ |
| 15243 | 114 | |
| 115 | GdkCursor *hand_cursor; /**< Hand cursor */ | |
| 116 | GdkCursor *arrow_cursor; /**< Arrow cursor */ | |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
117 | |
| 15094 | 118 | GtkWidget *scrollbook; /**< Scrollbook for alerts */ |
| 15243 | 119 | GtkWidget *headline_hbox; /**< Hbox for headline notification */ |
| 120 | GtkWidget *headline_label; /**< Label for headline notifications */ | |
| 121 | GtkWidget *headline_image; /**< Image for headline notifications */ | |
|
15300
454ddc38e700
[gaim-migrate @ 18028]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15246
diff
changeset
|
122 | GdkPixbuf *headline_close; /**< Close image for closing the headline without triggering the callback */ |
| 15243 | 123 | GCallback headline_callback; /**< Callback for headline notifications */ |
| 124 | gpointer headline_data; /**< User data for headline notifications */ | |
|
15386
2cfff7893ed0
[gaim-migrate @ 18115]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15380
diff
changeset
|
125 | GDestroyNotify headline_destroy; /**< Callback to use for destroying the headline-data */ |
| 15246 | 126 | gboolean changing_style; /**< True when changing GTK+ theme style */ |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
127 | |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
128 | GtkWidget *error_buttons; /**< Box containing the connection error buttons */ |
|
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
129 | GtkWidget *statusbox; /**< The status selector dropdown */ |
|
15458
39c79dc7c965
A lot of status icon changes:
Sean Egan <seanegan@pidgin.im>
parents:
15435
diff
changeset
|
130 | GdkPixbuf *empty_avatar; /**< A 32x32 transparent pixbuf */ |
|
21307
63bb9b16256e
Group all NAME_IN_USE errors together into one neat mini-dialog on the buddy
Will Thompson <resiak@pidgin.im>
parents:
21296
diff
changeset
|
131 | |
|
63bb9b16256e
Group all NAME_IN_USE errors together into one neat mini-dialog on the buddy
Will Thompson <resiak@pidgin.im>
parents:
21296
diff
changeset
|
132 | gpointer priv; /**< Pointer to opaque private data */ |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
133 | }; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
134 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
135 | #define PIDGIN_BLIST(list) ((PidginBuddyList *)(list)->ui_data) |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
136 | #define PIDGIN_IS_PIDGIN_BLIST(list) \ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
137 | ((list)->ui_ops == pidgin_blist_get_ui_ops()) |
| 5228 | 138 | |
| 139 | /************************************************************************** | |
| 5422 | 140 | * @name GTK+ Buddy List API |
| 5228 | 141 | **************************************************************************/ |
| 5906 | 142 | |
| 143 | /** | |
| 8815 | 144 | * Get the handle for the GTK+ blist system. |
| 145 | * | |
| 146 | * @return the handle to the blist system | |
| 147 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
148 | void *pidgin_blist_get_handle(void); |
| 8815 | 149 | |
| 150 | /** | |
| 5906 | 151 | * Initializes the GTK+ blist system. |
| 152 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
153 | void pidgin_blist_init(void); |
| 5906 | 154 | |
| 5228 | 155 | /** |
| 8815 | 156 | * Uninitializes the GTK+ blist system. |
| 157 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
158 | void pidgin_blist_uninit(void); |
| 8815 | 159 | |
| 160 | /** | |
| 5228 | 161 | * Returns the UI operations structure for the buddy list. |
| 162 | * | |
|
10814
7e17cb56b019
[gaim-migrate @ 12468]
Luke Schierer <lschiere@pidgin.im>
parents:
10643
diff
changeset
|
163 | * @return The GTK+ list operations structure. |
| 5228 | 164 | */ |
| 15884 | 165 | PurpleBlistUiOps *pidgin_blist_get_ui_ops(void); |
| 5228 | 166 | |
| 167 | /** | |
| 10643 | 168 | * Returns the default gtk buddy list |
| 11732 | 169 | * |
| 10643 | 170 | * There's normally only one buddy list window, but that isn't a necessity. This function |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
171 | * returns the PidginBuddyList we're most likely wanting to work with. This is slightly |
| 10643 | 172 | * cleaner than an externed global. |
| 11732 | 173 | * |
|
10814
7e17cb56b019
[gaim-migrate @ 12468]
Luke Schierer <lschiere@pidgin.im>
parents:
10643
diff
changeset
|
174 | * @return The default GTK+ buddy list |
| 10643 | 175 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
176 | PidginBuddyList *pidgin_blist_get_default_gtk_blist(void); |
| 10643 | 177 | |
| 178 | /** | |
| 9774 | 179 | * Populates a menu with the items shown on the buddy list for a buddy. |
| 180 | * | |
| 181 | * @param menu The menu to populate | |
|
14200
799dfae258cf
[gaim-migrate @ 16780]
Aaron Sheldon <aaronsheldon@users.sourceforge.net>
parents:
13015
diff
changeset
|
182 | * @param buddy The buddy whose menu to get |
| 10484 | 183 | * @param sub TRUE if this is a sub-menu, FALSE otherwise |
| 9774 | 184 | */ |
| 15884 | 185 | void pidgin_blist_make_buddy_menu(GtkWidget *menu, PurpleBuddy *buddy, gboolean sub); |
| 9774 | 186 | |
| 187 | /** | |
| 5228 | 188 | * Refreshes all the nodes of the buddy list. |
| 189 | * This should only be called when something changes to affect most of the nodes (such as a ui preference changing) | |
| 190 | * | |
| 191 | * @param list This is the core list that gets updated from | |
| 192 | */ | |
| 15884 | 193 | void pidgin_blist_refresh(PurpleBuddyList *list); |
| 5228 | 194 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
195 | void pidgin_blist_update_columns(void); |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
196 | void pidgin_blist_update_refresh_timeout(void); |
| 5228 | 197 | |
| 198 | /** | |
| 15524 | 199 | * Returns the blist emblem |
| 200 | * | |
| 201 | * @param node The node to return an emblem for | |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
202 | * |
| 15524 | 203 | * @return A newly created GdkPixbuf, or NULL |
| 204 | */ | |
| 205 | GdkPixbuf * | |
| 15884 | 206 | pidgin_blist_get_emblem(PurpleBlistNode *node); |
| 15524 | 207 | |
| 208 | /** | |
| 5228 | 209 | * Useful for the buddy ticker |
| 210 | */ | |
| 15884 | 211 | GdkPixbuf *pidgin_blist_get_status_icon(PurpleBlistNode *node, |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
212 | PidginStatusIconSize size); |
| 5228 | 213 | |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
214 | /** |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
215 | * Returns a boolean indicating if @a node is part of an expanded contact. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
216 | * |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
217 | * This only makes sense for contact and buddy nodes. @c FALSE is returned |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
218 | * for other types of nodes. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
219 | * |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
220 | * @param node The node in question. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
221 | * @return A boolean indicating if @a node is part of an expanded contact. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
222 | */ |
| 15884 | 223 | gboolean pidgin_blist_node_is_contact_expanded(PurpleBlistNode *node); |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
224 | |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
225 | /** |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
226 | * Intelligently toggles the visibility of the buddy list. If the buddy |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
227 | * list is obscured, it is brought to the front. If it is not obscured, |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
228 | * it is hidden. If it is hidden it is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
229 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
230 | void pidgin_blist_toggle_visibility(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
231 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
232 | /** |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
233 | * Increases the reference count of visibility managers. Callers should |
|
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
234 | * call the complementary remove function when no longer managing |
|
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
235 | * visibility. |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
236 | * |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
237 | * A visibility manager is something that provides some method for |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
238 | * showing the buddy list after it is hidden (e.g. docklet plugin). |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
239 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
240 | void pidgin_blist_visibility_manager_add(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
241 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
242 | /** |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
243 | * Decreases the reference count of visibility managers. If the count |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
244 | * drops below zero, the buddy list is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
245 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
246 | void pidgin_blist_visibility_manager_remove(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
247 | |
| 15094 | 248 | /** |
| 249 | * Adds a mini-alert to the blist scrollbook | |
| 250 | * | |
| 251 | * @param widget The widget to add | |
| 252 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
253 | void pidgin_blist_add_alert(GtkWidget *widget); |
| 15094 | 254 | |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
255 | /** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
256 | * Sets the current theme for Pidgin to use |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
257 | * |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
258 | * @param theme the new theme to use |
|
25885
5b5e2ca316b2
Add @since 2.6.0 doxygen comments to some of our new functions, and
Mark Doliner <markdoliner@pidgin.im>
parents:
23659
diff
changeset
|
259 | * |
|
5b5e2ca316b2
Add @since 2.6.0 doxygen comments to some of our new functions, and
Mark Doliner <markdoliner@pidgin.im>
parents:
23659
diff
changeset
|
260 | * @since 2.6.0 |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
261 | */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
262 | void pidgin_blist_set_theme(PidginBlistTheme *theme); |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
263 | |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
264 | /** |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
265 | * Gets Pidgin's current buddy list theme |
|
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
266 | * |
|
25885
5b5e2ca316b2
Add @since 2.6.0 doxygen comments to some of our new functions, and
Mark Doliner <markdoliner@pidgin.im>
parents:
23659
diff
changeset
|
267 | * @returns the current theme |
|
5b5e2ca316b2
Add @since 2.6.0 doxygen comments to some of our new functions, and
Mark Doliner <markdoliner@pidgin.im>
parents:
23659
diff
changeset
|
268 | * |
|
5b5e2ca316b2
Add @since 2.6.0 doxygen comments to some of our new functions, and
Mark Doliner <markdoliner@pidgin.im>
parents:
23659
diff
changeset
|
269 | * @since 2.6.0 |
|
23656
d4acd51c1446
start of blist themes (themes have no effect on display)
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
21307
diff
changeset
|
270 | */ |
|
23659
8251d0f67df5
restructured much of the loader and themes for the buddy list, along with a basic trial of group background
Justin Rodriguez <ffdragon@soc.pidgin.im>
parents:
23656
diff
changeset
|
271 | PidginBlistTheme *pidgin_blist_get_theme(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
272 | |
| 5422 | 273 | /************************************************************************** |
| 274 | * @name GTK+ Buddy List sorting functions | |
| 275 | **************************************************************************/ | |
| 276 | ||
| 15884 | 277 | typedef void (*pidgin_blist_sort_function)(PurpleBlistNode *new, PurpleBuddyList *blist, GtkTreeIter group, GtkTreeIter *cur, GtkTreeIter *iter); |
| 5422 | 278 | |
| 11796 | 279 | /** |
| 280 | * Gets the current list of sort methods. | |
| 281 | * | |
| 282 | * @return A GSlist of sort methods | |
| 283 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
284 | GList *pidgin_blist_get_sort_methods(void); |
| 5422 | 285 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
286 | struct pidgin_blist_sort_method { |
| 5631 | 287 | char *id; |
| 5422 | 288 | char *name; |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
289 | pidgin_blist_sort_function func; |
| 5422 | 290 | }; |
| 291 | ||
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
292 | typedef struct pidgin_blist_sort_method PidginBlistSortMethod; |
| 11796 | 293 | |
| 5422 | 294 | /** |
| 295 | * Registers a buddy list sorting method. | |
| 296 | * | |
| 5631 | 297 | * @param id The unique ID of the sorting method |
| 5422 | 298 | * @param name The method's name. |
| 299 | * @param func A pointer to the function. | |
| 300 | * | |
| 301 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
302 | void pidgin_blist_sort_method_reg(const char *id, const char *name, pidgin_blist_sort_function func); |
| 5422 | 303 | |
| 304 | /** | |
| 305 | * Unregisters a buddy list sorting method. | |
| 306 | * | |
| 5631 | 307 | * @param id The method's id |
| 5422 | 308 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
309 | void pidgin_blist_sort_method_unreg(const char *id); |
| 5422 | 310 | |
| 311 | /** | |
| 312 | * Sets a buddy list sorting method. | |
| 313 | * | |
| 5631 | 314 | * @param id The method's id. |
| 5422 | 315 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
316 | void pidgin_blist_sort_method_set(const char *id); |
| 5422 | 317 | |
| 318 | /** | |
| 319 | * Sets up the programs default sort methods | |
| 320 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
321 | void pidgin_blist_setup_sort_methods(void); |
| 5422 | 322 | |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
323 | /** |
| 12296 | 324 | * Updates the accounts menu on the GTK+ buddy list window. |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
325 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
326 | void pidgin_blist_update_accounts_menu(void); |
| 5422 | 327 | |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
328 | /** |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
329 | * Updates the plugin actions menu on the GTK+ buddy list window. |
|
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
330 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
331 | void pidgin_blist_update_plugin_actions(void); |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
332 | |
|
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
333 | /** |
| 11796 | 334 | * Updates the Sorting menu on the GTK+ buddy list window. |
| 335 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
336 | void pidgin_blist_update_sort_methods(void); |
| 11796 | 337 | |
| 338 | /** | |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
339 | * Determines if showing the join chat dialog is a valid action. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
340 | * |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
341 | * @return Returns TRUE if there are accounts online capable of |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
342 | * joining chat rooms. Otherwise returns FALSE. |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
343 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
344 | gboolean pidgin_blist_joinchat_is_showable(void); |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
345 | |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
346 | /** |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
347 | * Shows the join chat dialog. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
348 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
349 | void pidgin_blist_joinchat_show(void); |
| 5422 | 350 | |
| 9051 | 351 | /** |
| 15884 | 352 | * Appends the privacy menu items for a PurpleBlistNode |
|
15380
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
353 | * TODO: Rename these. |
|
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
354 | */ |
| 15884 | 355 | void pidgin_append_blist_node_privacy_menu(GtkWidget *menu, PurpleBlistNode *node); |
|
15380
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
356 | |
|
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
357 | /** |
| 15884 | 358 | * Appends the protocol specific menu items for a PurpleBlistNode |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
359 | * TODO: Rename these. |
| 9051 | 360 | */ |
| 15884 | 361 | void pidgin_append_blist_node_proto_menu (GtkWidget *menu, PurpleConnection *gc, PurpleBlistNode *node); |
| 9051 | 362 | |
| 363 | /** | |
| 15884 | 364 | * Appends the extended menu items for a PurpleBlistNode |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
365 | * TODO: Rename these. |
| 9051 | 366 | */ |
| 15884 | 367 | void pidgin_append_blist_node_extended_menu(GtkWidget *menu, PurpleBlistNode *node); |
| 9051 | 368 | |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
369 | /** |
|
21296
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
370 | * Was used by the connection API to tell the blist if an account has a |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
371 | * connection error or no longer has a connection error, but the blist now does |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
372 | * this itself with the @ref account-error-changed signal. |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
373 | * |
|
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
374 | * @param account The account that either has a connection error |
|
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
375 | * or no longer has a connection error. |
|
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
376 | * @param message The connection error message, or NULL if this |
|
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
377 | * account is no longer in an error state. |
|
21296
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
378 | * @deprecated There was no good reason for code other than gtkconn to call |
|
406dbf97ff66
Deprecate pidgin_blist_update_account_error_state() and
Will Thompson <resiak@pidgin.im>
parents:
20940
diff
changeset
|
379 | * this. |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
380 | */ |
| 15884 | 381 | void pidgin_blist_update_account_error_state(PurpleAccount *account, const char *message); |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
382 | |
| 15243 | 383 | /** |
| 384 | * Sets a headline notification | |
| 385 | * | |
| 386 | * This is currently used for mail notification, but could theoretically be used for anything. | |
| 387 | * Only the most recent headline will be shown. | |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
388 | * |
| 15243 | 389 | * @param text Pango Markup for the label text |
| 390 | * @param pixbuf The GdkPixbuf for the icon | |
| 391 | * @param callback The callback to call when headline is clicked | |
| 392 | * @param user_data The userdata to include in the callback | |
|
15386
2cfff7893ed0
[gaim-migrate @ 18115]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15380
diff
changeset
|
393 | * @param destroy The callback to call when headline is closed or replaced by another headline. |
| 15243 | 394 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
395 | void pidgin_blist_set_headline(const char *text, GdkPixbuf *pixbuf, GCallback callback, gpointer user_data, |
|
15386
2cfff7893ed0
[gaim-migrate @ 18115]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15380
diff
changeset
|
396 | GDestroyNotify destroy); |
| 15243 | 397 | |
|
18253
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
398 | /** |
|
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
399 | * Returns a buddy's Pango markup appropriate for setting in a GtkCellRenderer. |
|
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
400 | * |
|
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
401 | * @param buddy The buddy to return markup from |
|
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
402 | * @param selected Whether this buddy is selected. If TRUE, the markup will not change the color. |
|
25889
26d9ca30335c
Change "screen name" to "username" or "buddy name" in a whole bunch of
Mark Doliner <markdoliner@pidgin.im>
parents:
25885
diff
changeset
|
403 | * @param aliased TRUE to return the appropriate alias of this buddy, FALSE to return its username and status information |
|
18253
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
404 | * @return The markup for this buddy |
|
20940
925d3d68b3af
Doxygen @since tags for libpurple and pidgin.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20890
diff
changeset
|
405 | * |
|
925d3d68b3af
Doxygen @since tags for libpurple and pidgin.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20890
diff
changeset
|
406 | * @since 2.1.0 |
|
18253
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
407 | */ |
|
18274
b4eb1720fddf
Show screenname instead of alias in conversation infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18253
diff
changeset
|
408 | gchar *pidgin_blist_get_name_markup(PurpleBuddy *buddy, gboolean selected, gboolean aliased); |
|
18253
e25dd002e0be
Start work on blist pane in conversation. Looks like: http://pidgin.im/~seanegan/infopane.png Certainly much to be done yet.
Sean Egan <seanegan@pidgin.im>
parents:
16254
diff
changeset
|
409 | |
| 18970 | 410 | /** |
| 411 | * Creates the Buddy List tooltip at the current pointer location for the given buddy list node. | |
| 412 | * | |
| 413 | * This tooltip will be destroyed the next time this function is called, or when XXXX | |
| 414 | * is called | |
| 415 | * | |
|
19862
3aa48ac21c45
This will silence a few warnings when building the Doxygen docs.
John Bailey <rekkanoryo@rekkanoryo.org>
parents:
19859
diff
changeset
|
416 | * @param node The buddy list node to show a tooltip for |
| 18970 | 417 | * @param widget The widget to draw the tooltip on |
|
20940
925d3d68b3af
Doxygen @since tags for libpurple and pidgin.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20890
diff
changeset
|
418 | * |
|
925d3d68b3af
Doxygen @since tags for libpurple and pidgin.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20890
diff
changeset
|
419 | * @since 2.1.0 |
| 18970 | 420 | */ |
| 421 | void pidgin_blist_draw_tooltip(PurpleBlistNode *node, GtkWidget *widget); | |
| 422 | ||
| 423 | /** | |
| 424 | * Destroys the current (if any) Buddy List tooltip | |
|
20940
925d3d68b3af
Doxygen @since tags for libpurple and pidgin.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20890
diff
changeset
|
425 | * |
|
925d3d68b3af
Doxygen @since tags for libpurple and pidgin.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
20890
diff
changeset
|
426 | * @since 2.1.0 |
| 18970 | 427 | */ |
| 428 | void pidgin_blist_tooltip_destroy(void); | |
| 429 | ||
| 430 | ||
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
431 | #endif /* _PIDGINBLIST_H_ */ |