Fri, 11 Mar 2022 01:23:12 -0600
Fix a ton of missing and incorrect global header guards
Testing Done:
Compiled and ran.
Reviewed at https://reviews.imfreedom.org/r/1321/
|
20147
66f05a854eee
applied changes from 8a731bbd0197fbcc91a705c2d8f528154216defa
Richard Laager <rlaager@pidgin.im>
parents:
19862
diff
changeset
|
1 | /* pidgin |
| 5228 | 2 | * |
| 15572 | 3 | * Pidgin is the legal property of its developers, whose names are too numerous |
| 8046 | 4 | * to list here. Please refer to the COPYRIGHT file distributed with this |
| 5 | * source distribution. | |
| 5906 | 6 | * |
| 5228 | 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by | |
| 9 | * the Free Software Foundation; either version 2 of the License, or | |
| 10 | * (at your option) any later version. | |
| 11 | * | |
| 12 | * This program is distributed in the hope that it will be useful, | |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 15 | * GNU General Public License for more details. | |
| 16 | * | |
| 17 | * You should have received a copy of the GNU General Public License | |
| 18 | * 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
|
19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 5228 | 20 | */ |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35473
diff
changeset
|
21 | |
|
41276
03f98ece6b26
Fix a ton of missing and incorrect global header guards
Gary Kramlich <grim@reaperworld.com>
parents:
41251
diff
changeset
|
22 | #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION) |
|
03f98ece6b26
Fix a ton of missing and incorrect global header guards
Gary Kramlich <grim@reaperworld.com>
parents:
41251
diff
changeset
|
23 | # error "only <pidgin.h> may be included directly" |
|
03f98ece6b26
Fix a ton of missing and incorrect global header guards
Gary Kramlich <grim@reaperworld.com>
parents:
41251
diff
changeset
|
24 | #endif |
|
03f98ece6b26
Fix a ton of missing and incorrect global header guards
Gary Kramlich <grim@reaperworld.com>
parents:
41251
diff
changeset
|
25 | |
|
35487
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35473
diff
changeset
|
26 | #ifndef _PIDGINBLIST_H_ |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35473
diff
changeset
|
27 | #define _PIDGINBLIST_H_ |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
28 | |
|
40762
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
29 | #include <gtk/gtk.h> |
|
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
30 | |
|
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
31 | #include <purple.h> |
|
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
32 | |
|
35600
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
33 | #define PIDGIN_TYPE_BUDDY_LIST (pidgin_buddy_list_get_type()) |
|
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
34 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
35 | typedef struct _PidginBuddyList PidginBuddyList; |
|
5872
754c63f29b77
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5631
diff
changeset
|
36 | |
| 5228 | 37 | typedef enum { |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
38 | PIDGIN_STATUS_ICON_LARGE, |
|
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
39 | PIDGIN_STATUS_ICON_SMALL |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
40 | |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
41 | } PidginStatusIconSize; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
42 | |
| 5228 | 43 | /************************************************************************** |
| 35472 | 44 | * Structures |
| 5228 | 45 | **************************************************************************/ |
| 46 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
47 | * PidginBuddyList: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
48 | * @notebook: The notebook that switches between the real buddy list |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
49 | * and the helpful instructions page |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
50 | * @main_vbox: This vbox contains the menu and notebook |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
51 | * @vbox: This is the vbox that everything important gets packed |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
52 | * into. Your plugin might want to pack something in it |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
53 | * itself. Go, plugins! |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
54 | * @treeview: It's a treeview... d'uh. |
|
40948
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40938
diff
changeset
|
55 | * @treemodel: This is the treemodel. |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
56 | * @text_column: Column |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
57 | * @refresh_timer: The timer for refreshing every 30 seconds |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
58 | * @drag_timeout: The timeout for expanding contacts on drags |
|
40937
2405744f8193
Rename PidginBuddyList->tip_rect to drag_rect.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40762
diff
changeset
|
59 | * @drag_rect: This is the bounding rectangle of the cell we're |
|
2405744f8193
Rename PidginBuddyList->tip_rect to drag_rect.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40762
diff
changeset
|
60 | * currently hovering over. This is used for drag'n'drop. |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
61 | * @contact_rect: This is the bounding rectangle of the contact node and |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
62 | * its children. This is used for auto-expand on mouseover. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
63 | * @mouseover_contact: This is the contact currently mouse-over expanded |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
64 | * @selected_node: The currently selected node |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
65 | * @scrollbook: Scrollbook for alerts |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
66 | * @headline: Widget for headline notifications |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
67 | * @headline_label: Label for headline notifications |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
68 | * @headline_image: Image for headline notifications |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
69 | * @headline_callback: Callback for headline notifications |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
70 | * @headline_data: User data for headline notifications |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
71 | * @headline_destroy: Callback to use for destroying the headline-data |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
72 | * @statusbox: The status selector dropdown |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
73 | * @empty_avatar: A 32x32 transparent pixbuf |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
74 | * @priv: Pointer to opaque private data |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
75 | * |
| 5228 | 76 | * Like, everything you need to know about the gtk buddy list |
| 77 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
78 | struct _PidginBuddyList { |
|
39693
86f5c1fef140
Convert UI ops to PurpleBuddyListClass methods.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39148
diff
changeset
|
79 | PurpleBuddyList parent; |
|
86f5c1fef140
Convert UI ops to PurpleBuddyListClass methods.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39148
diff
changeset
|
80 | |
| 5228 | 81 | GtkWidget *window; |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
82 | GtkWidget *vbox; |
| 5228 | 83 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
84 | GtkWidget *treeview; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
85 | GtkTreeStore *treemodel; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
86 | GtkTreeViewColumn *text_column; |
| 11016 | 87 | |
| 88 | GtkCellRenderer *text_rend; | |
| 5228 | 89 | |
|
40368
cb9a81e8845a
Port the sort-method items to GMenu and GAction and display in the new menubar
Gary Kramlich <grim@reaperworld.com>
parents:
39738
diff
changeset
|
90 | GtkWidget *menu; |
| 5228 | 91 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
92 | guint refresh_timer; |
| 5228 | 93 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
94 | guint drag_timeout; |
|
40937
2405744f8193
Rename PidginBuddyList->tip_rect to drag_rect.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40762
diff
changeset
|
95 | GdkRectangle drag_rect; |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
96 | GdkRectangle contact_rect; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
97 | PurpleBlistNode *mouseover_contact; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
98 | |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
99 | PurpleBlistNode *selected_node; |
| 15243 | 100 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
101 | GtkWidget *scrollbook; |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
102 | }; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
103 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
104 | G_BEGIN_DECLS |
|
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
105 | |
| 5228 | 106 | /************************************************************************** |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40956
diff
changeset
|
107 | * GTK Buddy List API |
| 5228 | 108 | **************************************************************************/ |
| 5906 | 109 | |
|
39693
86f5c1fef140
Convert UI ops to PurpleBuddyListClass methods.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39148
diff
changeset
|
110 | G_DECLARE_FINAL_TYPE(PidginBuddyList, pidgin_buddy_list, PIDGIN, BUDDY_LIST, |
|
86f5c1fef140
Convert UI ops to PurpleBuddyListClass methods.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39148
diff
changeset
|
111 | PurpleBuddyList) |
|
35600
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
112 | |
|
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
113 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
114 | * pidgin_blist_get_handle: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
115 | * |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40956
diff
changeset
|
116 | * Get the handle for the GTK blist system. |
| 8815 | 117 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
118 | * Returns: the handle to the blist system |
| 8815 | 119 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
120 | void *pidgin_blist_get_handle(void); |
| 8815 | 121 | |
| 122 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
123 | * pidgin_blist_init: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
124 | * |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40956
diff
changeset
|
125 | * Initializes the GTK blist system. |
| 5906 | 126 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
127 | void pidgin_blist_init(void); |
| 5906 | 128 | |
| 5228 | 129 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
130 | * pidgin_blist_uninit: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
131 | * |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40956
diff
changeset
|
132 | * Uninitializes the GTK blist system. |
| 8815 | 133 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
134 | void pidgin_blist_uninit(void); |
| 8815 | 135 | |
| 136 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
137 | * pidgin_blist_get_default_gtk_blist: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
138 | * |
| 10643 | 139 | * Returns the default gtk buddy list |
| 11732 | 140 | * |
| 10643 | 141 | * 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
|
142 | * returns the PidginBuddyList we're most likely wanting to work with. This is slightly |
| 10643 | 143 | * cleaner than an externed global. |
| 11732 | 144 | * |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40956
diff
changeset
|
145 | * Returns: (transfer none): The default GTK buddy list. |
| 10643 | 146 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
147 | PidginBuddyList *pidgin_blist_get_default_gtk_blist(void); |
| 10643 | 148 | |
| 149 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
150 | * pidgin_blist_make_buddy_menu: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
151 | * @menu: The menu to populate |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
152 | * @buddy: The buddy whose menu to get |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
153 | * @sub: %TRUE if this is a sub-menu, %FALSE otherwise |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
154 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
155 | * Populates a menu with the items shown on the buddy list for a buddy. |
| 9774 | 156 | */ |
| 15884 | 157 | void pidgin_blist_make_buddy_menu(GtkWidget *menu, PurpleBuddy *buddy, gboolean sub); |
| 9774 | 158 | |
| 159 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
160 | * pidgin_blist_refresh: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
161 | * @list: This is the core list that gets updated from |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
162 | * |
| 5228 | 163 | * Refreshes all the nodes of the buddy list. |
| 164 | * This should only be called when something changes to affect most of the nodes (such as a ui preference changing) | |
| 165 | */ | |
| 15884 | 166 | void pidgin_blist_refresh(PurpleBuddyList *list); |
| 5228 | 167 | |
| 168 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
169 | * pidgin_blist_get_emblem: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
170 | * @node: The node to return an emblem for |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
171 | * |
|
29728
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
172 | * Returns the blist emblem. |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
173 | * |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
174 | * This may be an existing pixbuf that has been given an additional ref, |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
175 | * so it shouldn't be modified. |
| 15524 | 176 | * |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
177 | * Returns: (transfer full): A GdkPixbuf for the emblem to show, or NULL |
| 15524 | 178 | */ |
| 179 | GdkPixbuf * | |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
180 | pidgin_blist_get_emblem(PurpleBlistNode *node); |
| 15524 | 181 | |
| 182 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
183 | * pidgin_blist_get_status_icon: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
184 | * |
| 5228 | 185 | * Useful for the buddy ticker |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
186 | * |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
187 | * Returns: (transfer full): A #GdkPixbuf of status icon. |
| 5228 | 188 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
189 | GdkPixbuf *pidgin_blist_get_status_icon(PurpleBlistNode *node, |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
190 | PidginStatusIconSize size); |
| 5228 | 191 | |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
192 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
193 | * pidgin_blist_node_is_contact_expanded: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
194 | * @node: The node in question. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
195 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
196 | * Returns a boolean indicating if @node is part of an expanded contact. |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
197 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
198 | * This only makes sense for contact and buddy nodes. %FALSE is returned |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
199 | * for other types of nodes. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
200 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
201 | * Returns: A boolean indicating if @node is part of an expanded contact. |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
202 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
203 | gboolean pidgin_blist_node_is_contact_expanded(PurpleBlistNode *node); |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
204 | |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
205 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
206 | * pidgin_blist_add_alert: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
207 | * @widget: The widget to add |
| 15094 | 208 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
209 | * Adds a mini-alert to the blist scrollbook |
| 15094 | 210 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
211 | void pidgin_blist_add_alert(GtkWidget *widget); |
| 15094 | 212 | |
| 5422 | 213 | /************************************************************************** |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40956
diff
changeset
|
214 | * GTK Buddy List sorting functions |
| 5422 | 215 | **************************************************************************/ |
| 216 | ||
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
217 | typedef void (*pidgin_blist_sort_function)(PurpleBlistNode *new, PurpleBuddyList *blist, GtkTreeIter group, GtkTreeIter *cur, GtkTreeIter *iter); |
| 5422 | 218 | |
| 11796 | 219 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
220 | * pidgin_blist_get_sort_methods: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
221 | * |
| 11796 | 222 | * Gets the current list of sort methods. |
| 223 | * | |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
224 | * Returns: (transfer none) (element-type PidginBlistSortMethod): A GSlist of sort methods |
| 11796 | 225 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
226 | GList *pidgin_blist_get_sort_methods(void); |
| 5422 | 227 | |
|
35500
ae6432ea326f
Fixed namespace issues in Pidgin.
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
228 | struct _PidginBlistSortMethod { |
| 5631 | 229 | char *id; |
| 5422 | 230 | char *name; |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
231 | pidgin_blist_sort_function func; |
| 5422 | 232 | }; |
| 233 | ||
|
35500
ae6432ea326f
Fixed namespace issues in Pidgin.
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
234 | typedef struct _PidginBlistSortMethod PidginBlistSortMethod; |
| 11796 | 235 | |
| 5422 | 236 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
237 | * pidgin_blist_sort_method_reg: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
238 | * @id: The unique ID of the sorting method |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
239 | * @name: The method's name. |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
240 | * @func: (scope call): A pointer to the function. |
| 5422 | 241 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
242 | * Registers a buddy list sorting method. |
| 5422 | 243 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
244 | void pidgin_blist_sort_method_reg(const char *id, const char *name, pidgin_blist_sort_function func); |
| 5422 | 245 | |
| 246 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
247 | * pidgin_blist_sort_method_unreg: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
248 | * @id: The method's id |
| 5422 | 249 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
250 | * Unregisters a buddy list sorting method. |
| 5422 | 251 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
252 | void pidgin_blist_sort_method_unreg(const char *id); |
| 5422 | 253 | |
| 254 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
255 | * pidgin_blist_sort_method_set: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
256 | * @id: The method's id. |
| 5422 | 257 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
258 | * Sets a buddy list sorting method. |
| 5422 | 259 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
260 | void pidgin_blist_sort_method_set(const char *id); |
| 5422 | 261 | |
| 262 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
263 | * pidgin_blist_setup_sort_methods: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
264 | * |
| 5422 | 265 | * Sets up the programs default sort methods |
| 266 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
267 | void pidgin_blist_setup_sort_methods(void); |
| 5422 | 268 | |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
269 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
270 | * pidgin_blist_update_sort_methods: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
271 | * |
|
41087
4fc5b0ddf55e
Remove the + from GTK
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
40956
diff
changeset
|
272 | * Updates the Sorting menu on the GTK buddy list window. |
| 11796 | 273 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
274 | void pidgin_blist_update_sort_methods(void); |
| 11796 | 275 | |
| 276 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
277 | * pidgin_blist_joinchat_is_showable: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
278 | * |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
279 | * Determines if showing the join chat dialog is a valid action. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
280 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
281 | * Returns: Returns TRUE if there are accounts online capable of |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
282 | * joining chat rooms. Otherwise returns FALSE. |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
283 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
284 | gboolean pidgin_blist_joinchat_is_showable(void); |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
285 | |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
286 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
287 | * pidgin_blist_joinchat_show: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
288 | * |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
289 | * Shows the join chat dialog. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
290 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
291 | void pidgin_blist_joinchat_show(void); |
| 5422 | 292 | |
| 9051 | 293 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
294 | * pidgin_append_blist_node_privacy_menu: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
295 | * |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
296 | * Appends the privacy menu items for a PurpleBlistNode |
|
15380
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
297 | */ |
| 35473 | 298 | /* TODO Rename these. */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
299 | 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
|
300 | |
|
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
301 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
302 | * pidgin_append_blist_node_proto_menu: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
303 | * |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
304 | * Appends the protocol specific menu items for a PurpleBlistNode |
| 9051 | 305 | */ |
| 35473 | 306 | /* TODO Rename these. */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
307 | void pidgin_append_blist_node_proto_menu (GtkWidget *menu, PurpleConnection *gc, PurpleBlistNode *node); |
| 9051 | 308 | |
| 309 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
310 | * pidgin_append_blist_node_extended_menu: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
311 | * |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
312 | * Appends the extended menu items for a PurpleBlistNode |
| 9051 | 313 | */ |
| 35473 | 314 | /* TODO Rename these. */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
315 | void pidgin_append_blist_node_extended_menu(GtkWidget *menu, PurpleBlistNode *node); |
| 9051 | 316 | |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
317 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
318 | * pidgin_blist_get_name_markup: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
319 | * @buddy: The buddy to return markup from |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
320 | * @selected: Whether this buddy is selected. If TRUE, the markup will not change the color. |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
321 | * @aliased: TRUE to return the appropriate alias of this buddy, FALSE to return its username and status information |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
322 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
323 | * Returns a buddy's Pango markup appropriate for setting in a GtkCellRenderer. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
324 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
325 | * Returns: The markup for this buddy |
|
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
|
326 | */ |
|
18274
b4eb1720fddf
Show screenname instead of alias in conversation infopanes
Sean Egan <seanegan@pidgin.im>
parents:
18253
diff
changeset
|
327 | 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
|
328 | |
| 18970 | 329 | /** |
|
40955
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
330 | * pidgin_blist_query_tooltip_for_node: |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
331 | * @node: The buddy list to query a tooltip for. |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
332 | * @tooltip: The tooltip object to add a tooltip to. |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
333 | * |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
334 | * Queries and creates a custom tooltip for a buddy list node. |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
335 | * |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
336 | * Returns: %TRUE if a custom tooltip was added, %FALSE otherwise. |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
337 | * |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
338 | * Since: 3.0.0 |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
339 | */ |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
340 | gboolean pidgin_blist_query_tooltip_for_node(PurpleBlistNode *node, GtkTooltip *tooltip); |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
341 | |
|
32790
b95c7c504118
Add G_BEGIN/END_DECLS to Pidgin public headers, most of which did
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
32604
diff
changeset
|
342 | G_END_DECLS |
| 18970 | 343 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
344 | #endif /* _PIDGINBLIST_H_ */ |