Fri, 06 Jan 2006 04:46:00 +0000
[gaim-migrate @ 15091]
" Adds an emblem to a buddy if they have a queued message
(hidden conversation). In the large buddy list it is
added in the northwest corner, sliding the existing
northwest emblem (if specified) to the northeast
position and discarding the northeast emblem. In the
small buddy list, the emblem is added to the southeast.
Attached is a patch and an emblem image to be dropped
in pixmaps/status/default/. The emblem image is a
scaled down version of the send-im.png image." -- Casey Harkins
as I asked for this patch, and since there don't seem to be objections to
it (yet), I'm going ahead and applying it.
committer: Luke Schierer <lschiere@pidgin.im>
| 5228 | 1 | /** |
|
5248
f4f944f4dbe0
[gaim-migrate @ 5620]
Mark Doliner <markdoliner@pidgin.im>
parents:
5234
diff
changeset
|
2 | * @file gtkblist.h GTK+ Buddy List API |
| 5228 | 3 | * @ingroup gtkui |
| 4 | * | |
| 5 | * gaim | |
| 6 | * | |
| 8046 | 7 | * Gaim is the legal property of its developers, whose names are too numerous |
| 8 | * to list here. Please refer to the COPYRIGHT file distributed with this | |
| 9 | * source distribution. | |
| 5906 | 10 | * |
| 5228 | 11 | * This program is free software; you can redistribute it and/or modify |
| 12 | * it under the terms of the GNU General Public License as published by | |
| 13 | * the Free Software Foundation; either version 2 of the License, or | |
| 14 | * (at your option) any later version. | |
| 15 | * | |
| 16 | * This program is distributed in the hope that it will be useful, | |
| 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 19 | * GNU General Public License for more details. | |
| 20 | * | |
| 21 | * You should have received a copy of the GNU General Public License | |
| 22 | * along with this program; if not, write to the Free Software | |
| 23 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| 24 | */ | |
|
9713
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
9051
diff
changeset
|
25 | #ifndef _GAIM_GTKBLIST_H_ |
|
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
9051
diff
changeset
|
26 | #define _GAIM_GTKBLIST_H_ |
| 5228 | 27 | |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
28 | typedef struct _GaimGtkBuddyList GaimGtkBuddyList; |
|
5872
754c63f29b77
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5631
diff
changeset
|
29 | |
| 5228 | 30 | enum { |
| 31 | STATUS_ICON_COLUMN, | |
| 32 | STATUS_ICON_VISIBLE_COLUMN, | |
| 33 | NAME_COLUMN, | |
| 34 | IDLE_COLUMN, | |
| 35 | BUDDY_ICON_COLUMN, | |
| 36 | NODE_COLUMN, | |
| 37 | BLIST_COLUMNS | |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
38 | |
|
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
39 | }; |
| 5228 | 40 | |
| 41 | typedef enum { | |
| 42 | GAIM_STATUS_ICON_LARGE, | |
| 43 | GAIM_STATUS_ICON_SMALL | |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
44 | |
| 5228 | 45 | } GaimStatusIconSize; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
46 | |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
47 | #include "gtkgaim.h" |
|
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
48 | #include "blist.h" |
|
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
49 | |
| 5228 | 50 | /************************************************************************** |
| 51 | * @name Structures | |
| 52 | **************************************************************************/ | |
| 53 | /** | |
| 54 | * Like, everything you need to know about the gtk buddy list | |
| 55 | */ | |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
56 | struct _GaimGtkBuddyList { |
| 5228 | 57 | GtkWidget *window; |
| 58 | GtkWidget *vbox; /**< This is the vbox that everything gets packed into. Your plugin might | |
| 59 | want to pack something in it itself. Go, plugins! */ | |
| 60 | ||
| 61 | GtkWidget *treeview; /**< It's a treeview... d'uh. */ | |
| 62 | GtkTreeStore *treemodel; /**< This is the treemodel. */ | |
| 6695 | 63 | GtkTreeViewColumn *idle_column, |
| 64 | *warning_column, | |
| 11016 | 65 | *buddy_icon_column, |
| 66 | *text_column; | |
| 67 | ||
| 68 | GtkCellRenderer *text_rend; | |
| 5228 | 69 | |
|
5427
a45fa07ef20d
[gaim-migrate @ 5806]
Mark Doliner <markdoliner@pidgin.im>
parents:
5422
diff
changeset
|
70 | GtkItemFactory *ift; |
|
12116
17bf39d2678f
[gaim-migrate @ 14416]
Casey Harkins <charkins@pidgin.im>
parents:
12080
diff
changeset
|
71 | GtkWidget *menutray; /**< The menu tray widget. */ |
|
17bf39d2678f
[gaim-migrate @ 14416]
Casey Harkins <charkins@pidgin.im>
parents:
12080
diff
changeset
|
72 | GtkWidget *menutrayicon; /**< The menu tray icon. */ |
| 5228 | 73 | |
| 74 | guint refresh_timer; /**< The timer for refreshing every 30 seconds */ | |
| 75 | ||
| 76 | guint timeout; /**< The timeout for the tooltip. */ | |
| 10354 | 77 | guint drag_timeout; /**< The timeout for expanding contacts on drags */ |
| 7636 | 78 | GdkRectangle tip_rect; /**< This is the bounding rectangle of the |
| 79 | cell we're currently hovering over. This is | |
| 80 | used for tooltips. */ | |
| 81 | GdkRectangle contact_rect; /**< This is the bounding rectangle of the contact node | |
| 82 | and its children. This is used for auto-expand on | |
| 83 | mouseover. */ | |
| 84 | GaimBlistNode *mouseover_contact; /**< This is the contact currently mouse-over expanded */ | |
| 85 | ||
| 5228 | 86 | GtkWidget *tipwindow; /**< The window used by the tooltip */ |
| 11890 | 87 | GList *tooltipdata; /**< The data for each "chunk" of the tooltip */ |
| 5228 | 88 | |
| 89 | GaimBlistNode *selected_node; /**< The currently selected node */ | |
| 10643 | 90 | GtkWidget *statusbox; /**< The status selector dropdown */ |
| 7304 | 91 | GdkPixbuf *east, *south; /**< Drop shadow stuff */ |
| 92 | GdkWindow *east_shadow, *south_shadow; /**< Drop shadow stuff */ | |
| 93 | ||
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
94 | }; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
95 | |
|
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
96 | #define GAIM_GTK_BLIST(list) ((GaimGtkBuddyList *)(list)->ui_data) |
| 5228 | 97 | #define GAIM_IS_GTK_BLIST(list) \ |
|
7035
76bca80cd91d
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6695
diff
changeset
|
98 | ((list)->ui_ops == gaim_gtk_blist_get_ui_ops()) |
| 5228 | 99 | |
| 100 | /************************************************************************** | |
| 5422 | 101 | * @name GTK+ Buddy List API |
| 5228 | 102 | **************************************************************************/ |
| 5906 | 103 | |
| 104 | /** | |
| 8815 | 105 | * Get the handle for the GTK+ blist system. |
| 106 | * | |
| 107 | * @return the handle to the blist system | |
| 108 | */ | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
109 | void *gaim_gtk_blist_get_handle(void); |
| 8815 | 110 | |
| 111 | /** | |
| 5906 | 112 | * Initializes the GTK+ blist system. |
| 113 | */ | |
| 114 | void gaim_gtk_blist_init(void); | |
| 115 | ||
| 5228 | 116 | /** |
| 8815 | 117 | * Uninitializes the GTK+ blist system. |
| 118 | */ | |
| 119 | void gaim_gtk_blist_uninit(void); | |
| 120 | ||
| 121 | /** | |
| 5228 | 122 | * Returns the UI operations structure for the buddy list. |
| 123 | * | |
|
10814
7e17cb56b019
[gaim-migrate @ 12468]
Luke Schierer <lschiere@pidgin.im>
parents:
10643
diff
changeset
|
124 | * @return The GTK+ list operations structure. |
| 5228 | 125 | */ |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
126 | GaimBlistUiOps *gaim_gtk_blist_get_ui_ops(void); |
| 5228 | 127 | |
| 128 | /** | |
| 10643 | 129 | * Returns the default gtk buddy list |
| 11732 | 130 | * |
| 10643 | 131 | * There's normally only one buddy list window, but that isn't a necessity. This function |
| 132 | * returns the GaimGtkBuddyList we're most likely wanting to work with. This is slightly | |
| 133 | * cleaner than an externed global. | |
| 11732 | 134 | * |
|
10814
7e17cb56b019
[gaim-migrate @ 12468]
Luke Schierer <lschiere@pidgin.im>
parents:
10643
diff
changeset
|
135 | * @return The default GTK+ buddy list |
| 10643 | 136 | */ |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
137 | GaimGtkBuddyList *gaim_gtk_blist_get_default_gtk_blist(void); |
| 10643 | 138 | |
| 139 | /** | |
| 9774 | 140 | * Populates a menu with the items shown on the buddy list for a buddy. |
| 141 | * | |
| 142 | * @param menu The menu to populate | |
| 143 | * @param buddy The buddy who's menu to get | |
| 10484 | 144 | * @param sub TRUE if this is a sub-menu, FALSE otherwise |
| 9774 | 145 | */ |
| 10484 | 146 | void gaim_gtk_blist_make_buddy_menu(GtkWidget *menu, GaimBuddy *buddy, gboolean sub); |
| 9774 | 147 | |
| 148 | /** | |
| 5228 | 149 | * Refreshes all the nodes of the buddy list. |
| 150 | * This should only be called when something changes to affect most of the nodes (such as a ui preference changing) | |
| 151 | * | |
| 152 | * @param list This is the core list that gets updated from | |
| 153 | */ | |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
154 | void gaim_gtk_blist_refresh(GaimBuddyList *list); |
| 5228 | 155 | |
| 156 | /** | |
| 157 | * Tells the buddy list to update its toolbar based on the preferences | |
| 158 | * | |
| 159 | */ | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
160 | void gaim_gtk_blist_update_toolbar(void); |
| 5228 | 161 | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
162 | void gaim_gtk_blist_update_columns(void); |
|
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
163 | void gaim_gtk_blist_update_refresh_timeout(void); |
| 5228 | 164 | |
| 165 | /** | |
| 166 | * Useful for the buddy ticker | |
| 167 | */ | |
| 5234 | 168 | GdkPixbuf *gaim_gtk_blist_get_status_icon(GaimBlistNode *node, |
| 5228 | 169 | GaimStatusIconSize size); |
| 170 | ||
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
171 | /** |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
172 | * 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
|
173 | * |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
174 | * 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
|
175 | * for other types of nodes. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
176 | * |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
177 | * @param node The node in question. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
178 | * @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
|
179 | */ |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
180 | gboolean gaim_gtk_blist_node_is_contact_expanded(GaimBlistNode *node); |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
181 | |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
182 | /** |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
183 | * Intelligently toggles the visibility of the buddy list. If the buddy |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
184 | * 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
|
185 | * it is hidden. If it is hidden it is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
186 | */ |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
187 | void gaim_gtk_blist_toggle_visibility(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
188 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
189 | /** |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
190 | * Increases the reference count of visibility managers. Callers should |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
191 | * call the complementary remove function when no longer managing |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
192 | * visibility. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
193 | * |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
194 | * A visibility manager is something that provides some method for |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
195 | * 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
|
196 | */ |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
197 | void gaim_gtk_blist_visibility_manager_add(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
198 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
199 | /** |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
200 | * Decreases the reference count of visibility managers. If the count |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
201 | * drops below zero, the buddy list is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
202 | */ |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
203 | void gaim_gtk_blist_visibility_manager_remove(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
204 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
205 | |
| 5422 | 206 | /************************************************************************** |
| 207 | * @name GTK+ Buddy List sorting functions | |
| 208 | **************************************************************************/ | |
| 209 | ||
|
12413
ce06aa90beee
[gaim-migrate @ 14720]
Richard Laager <rlaager@pidgin.im>
parents:
12323
diff
changeset
|
210 | typedef void (*gaim_gtk_blist_sort_function)(GaimBlistNode *new, GaimBuddyList *blist, GtkTreeIter group, GtkTreeIter *cur, GtkTreeIter *iter); |
| 5422 | 211 | |
| 11796 | 212 | /** |
| 213 | * Gets the current list of sort methods. | |
| 214 | * | |
| 215 | * @return A GSlist of sort methods | |
| 216 | */ | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
217 | GList *gaim_gtk_blist_get_sort_methods(void); |
| 5422 | 218 | |
| 219 | struct gaim_gtk_blist_sort_method { | |
| 5631 | 220 | char *id; |
| 5422 | 221 | char *name; |
| 222 | gaim_gtk_blist_sort_function func; | |
| 223 | }; | |
| 224 | ||
| 11796 | 225 | typedef struct gaim_gtk_blist_sort_method GaimGtkBlistSortMethod; |
| 226 | ||
| 5422 | 227 | /** |
| 228 | * Registers a buddy list sorting method. | |
| 229 | * | |
| 5631 | 230 | * @param id The unique ID of the sorting method |
| 5422 | 231 | * @param name The method's name. |
| 232 | * @param func A pointer to the function. | |
| 233 | * | |
| 234 | */ | |
| 5631 | 235 | void gaim_gtk_blist_sort_method_reg(const char *id, const char *name, gaim_gtk_blist_sort_function func); |
| 5422 | 236 | |
| 237 | /** | |
| 238 | * Unregisters a buddy list sorting method. | |
| 239 | * | |
| 5631 | 240 | * @param id The method's id |
| 5422 | 241 | */ |
| 5631 | 242 | void gaim_gtk_blist_sort_method_unreg(const char *id); |
| 5422 | 243 | |
| 244 | /** | |
| 245 | * Sets a buddy list sorting method. | |
| 246 | * | |
| 5631 | 247 | * @param id The method's id. |
| 5422 | 248 | */ |
| 5631 | 249 | void gaim_gtk_blist_sort_method_set(const char *id); |
| 5422 | 250 | |
| 251 | /** | |
| 252 | * Sets up the programs default sort methods | |
| 253 | */ | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
254 | void gaim_gtk_blist_setup_sort_methods(void); |
| 5422 | 255 | |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
256 | /** |
| 12296 | 257 | * Updates the accounts menu on the GTK+ buddy list window. |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
258 | */ |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
259 | void gaim_gtk_blist_update_accounts_menu(void); |
| 5422 | 260 | |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
261 | /** |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
262 | * 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
|
263 | */ |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
264 | void gaim_gtk_blist_update_plugin_actions(void); |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
265 | |
|
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
266 | /** |
| 11796 | 267 | * Updates the Sorting menu on the GTK+ buddy list window. |
| 268 | */ | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
12296
diff
changeset
|
269 | void gaim_gtk_blist_update_sort_methods(void); |
| 11796 | 270 | |
| 271 | /** | |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
272 | * Determines if showing the join chat dialog is a valid action. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
273 | * |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
274 | * @return Returns TRUE if there are accounts online capable of |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
275 | * joining chat rooms. Otherwise returns FALSE. |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
276 | */ |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
277 | gboolean gaim_gtk_blist_joinchat_is_showable(void); |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
278 | |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
279 | /** |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
280 | * Shows the join chat dialog. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
281 | */ |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
282 | void gaim_gtk_blist_joinchat_show(void); |
| 5422 | 283 | |
| 9051 | 284 | /** |
| 285 | * Appends the protocol specific menu items for a GaimBlistNode | |
| 286 | */ | |
| 287 | void gaim_gtk_append_blist_node_proto_menu (GtkWidget *menu, GaimConnection *gc, GaimBlistNode *node); | |
| 288 | ||
| 289 | /** | |
| 290 | * Appends the extended menu items for a GaimBlistNode | |
| 291 | */ | |
| 292 | void gaim_gtk_append_blist_node_extended_menu(GtkWidget *menu, GaimBlistNode *node); | |
| 293 | ||
|
9713
bb37562302a1
[gaim-migrate @ 10574]
Mark Doliner <markdoliner@pidgin.im>
parents:
9051
diff
changeset
|
294 | #endif /* _GAIM_GTKBLIST_H_ */ |