Tue, 27 Jul 2021 02:24:48 -0500
Use Meson summary() function.
Now that we require at least 0.52, we can use Meson's builtin summary printing to display the results of configuration.
Testing Done:
Configured with defaults, and with pixmaps disabled to trigger the warning: https://asciinema.org/a/mV2oxOoVCJNdmrPwgqqUJ3mkU?t=17
Reviewed at https://reviews.imfreedom.org/r/848/
|
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 | |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35473
diff
changeset
|
22 | #ifndef _PIDGINBLIST_H_ |
|
494f09f7f331
Move section blocks inside inclusion guards -- otherwise g-ir-scanner yells
Ankit Vani <a@nevitus.org>
parents:
35473
diff
changeset
|
23 | #define _PIDGINBLIST_H_ |
|
35451
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
24 | /** |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
25 | * SECTION:gtkblist |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
26 | * @section_id: pidgin-gtkblist |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
27 | * @short_description: <filename>gtkblist.h</filename> |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
28 | * @title: Buddy List API |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
29 | * @see_also: <link linkend="chapter-signals-gtkblist">Buddy List signals</link> |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
30 | */ |
|
206524351826
Add sections for finch and re-arrange its doc index
Ankit Vani <a@nevitus.org>
parents:
35415
diff
changeset
|
31 | |
|
40762
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
32 | #include <gtk/gtk.h> |
|
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
33 | |
|
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
34 | #include <purple.h> |
|
a7aca87d5ceb
Remove theming from the buddy list
Gary Kramlich <grim@reaperworld.com>
parents:
40502
diff
changeset
|
35 | |
|
35600
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
36 | #define PIDGIN_TYPE_BUDDY_LIST (pidgin_buddy_list_get_type()) |
|
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
37 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
38 | typedef struct _PidginBuddyList PidginBuddyList; |
|
5872
754c63f29b77
[gaim-migrate @ 6304]
Christian Hammond <chipx86@chipx86.com>
parents:
5631
diff
changeset
|
39 | |
| 5228 | 40 | typedef enum { |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
41 | PIDGIN_STATUS_ICON_LARGE, |
|
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
42 | PIDGIN_STATUS_ICON_SMALL |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
43 | |
|
15569
e85adc8d3b5c
gtkblist changes to pidgin
Sean Egan <seanegan@pidgin.im>
parents:
15562
diff
changeset
|
44 | } PidginStatusIconSize; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
45 | |
| 5228 | 46 | /************************************************************************** |
| 35472 | 47 | * Structures |
| 5228 | 48 | **************************************************************************/ |
| 49 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
50 | * PidginBuddyList: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
51 | * @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
|
52 | * 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
|
53 | * @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
|
54 | * @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
|
55 | * 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
|
56 | * 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
|
57 | * @treeview: It's a treeview... d'uh. |
|
40948
2c312f084d84
Create a manager for conversations.
Gary Kramlich <grim@reaperworld.com>
parents:
40938
diff
changeset
|
58 | * @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
|
59 | * @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
|
60 | * @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
|
61 | * @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
|
62 | * @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
|
63 | * 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
|
64 | * @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
|
65 | * 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
|
66 | * @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
|
67 | * @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
|
68 | * @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
|
69 | * @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
|
70 | * @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
|
71 | * @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
|
72 | * @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
|
73 | * @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
|
74 | * @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
|
75 | * @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
|
76 | * @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
|
77 | * @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
|
78 | * |
| 5228 | 79 | * Like, everything you need to know about the gtk buddy list |
| 80 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
81 | struct _PidginBuddyList { |
|
39693
86f5c1fef140
Convert UI ops to PurpleBuddyListClass methods.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39148
diff
changeset
|
82 | PurpleBuddyList parent; |
|
86f5c1fef140
Convert UI ops to PurpleBuddyListClass methods.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39148
diff
changeset
|
83 | |
| 5228 | 84 | 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
|
85 | GtkWidget *notebook; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
86 | GtkWidget *main_vbox; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
87 | GtkWidget *vbox; |
| 5228 | 88 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
89 | GtkWidget *treeview; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
90 | GtkTreeStore *treemodel; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
91 | GtkTreeViewColumn *text_column; |
| 11016 | 92 | |
| 93 | GtkCellRenderer *text_rend; | |
| 5228 | 94 | |
|
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
|
95 | GtkWidget *menu; |
| 5228 | 96 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
97 | guint refresh_timer; |
| 5228 | 98 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
99 | guint drag_timeout; |
|
40937
2405744f8193
Rename PidginBuddyList->tip_rect to drag_rect.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40762
diff
changeset
|
100 | 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
|
101 | 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
|
102 | 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
|
103 | |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
104 | PurpleBlistNode *selected_node; |
| 15243 | 105 | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
106 | GtkWidget *scrollbook; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
107 | GtkWidget *headline; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
108 | GtkWidget *headline_label; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
109 | GtkWidget *headline_image; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
110 | GCallback headline_callback; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
111 | gpointer headline_data; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
112 | GDestroyNotify headline_destroy; |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
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 | GtkWidget *statusbox; |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
115 | GdkPixbuf *empty_avatar; |
|
10008
1de3454a0dca
[gaim-migrate @ 10925]
Mark Doliner <markdoliner@pidgin.im>
parents:
9791
diff
changeset
|
116 | }; |
|
7098
22eabd4f5ed4
[gaim-migrate @ 7663]
Christian Hammond <chipx86@chipx86.com>
parents:
7035
diff
changeset
|
117 | |
|
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
|
118 | 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
|
119 | |
| 5228 | 120 | /************************************************************************** |
| 35472 | 121 | * GTK+ Buddy List API |
| 5228 | 122 | **************************************************************************/ |
| 5906 | 123 | |
| 124 | /** | |
|
35600
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
125 | * pidgin_buddy_list_get_type: |
|
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
126 | * |
|
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
127 | * Returns: The #GType for the #PidginBuddyList boxed structure. |
|
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
128 | */ |
|
39693
86f5c1fef140
Convert UI ops to PurpleBuddyListClass methods.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39148
diff
changeset
|
129 | 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
|
130 | PurpleBuddyList) |
|
35600
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
131 | |
|
a0d221323be1
Box PidginBuddyList, PidginThemeFont, PidginBlistLayout
Ankit Vani <a@nevitus.org>
parents:
35500
diff
changeset
|
132 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
133 | * 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
|
134 | * |
| 8815 | 135 | * Get the handle for the GTK+ blist system. |
| 136 | * | |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
137 | * Returns: the handle to the blist system |
| 8815 | 138 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
139 | void *pidgin_blist_get_handle(void); |
| 8815 | 140 | |
| 141 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
142 | * 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
|
143 | * |
| 5906 | 144 | * Initializes the GTK+ blist system. |
| 145 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
146 | void pidgin_blist_init(void); |
| 5906 | 147 | |
| 5228 | 148 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
149 | * 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
|
150 | * |
| 8815 | 151 | * Uninitializes 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_uninit(void); |
| 8815 | 154 | |
| 155 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
156 | * 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
|
157 | * |
| 10643 | 158 | * Returns the default gtk buddy list |
| 11732 | 159 | * |
| 10643 | 160 | * 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
|
161 | * returns the PidginBuddyList we're most likely wanting to work with. This is slightly |
| 10643 | 162 | * cleaner than an externed global. |
| 11732 | 163 | * |
|
39738
14d425a528ad
Add missing transfer annotations.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39697
diff
changeset
|
164 | * Returns: (transfer none): The default GTK+ buddy list. |
| 10643 | 165 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
166 | PidginBuddyList *pidgin_blist_get_default_gtk_blist(void); |
| 10643 | 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_make_buddy_menu: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
170 | * @menu: The menu to populate |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
171 | * @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
|
172 | * @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
|
173 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
174 | * Populates a menu with the items shown on the buddy list for a buddy. |
| 9774 | 175 | */ |
| 15884 | 176 | void pidgin_blist_make_buddy_menu(GtkWidget *menu, PurpleBuddy *buddy, gboolean sub); |
| 9774 | 177 | |
| 178 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
179 | * 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
|
180 | * @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
|
181 | * |
| 5228 | 182 | * Refreshes all the nodes of the buddy list. |
| 183 | * This should only be called when something changes to affect most of the nodes (such as a ui preference changing) | |
| 184 | */ | |
| 15884 | 185 | void pidgin_blist_refresh(PurpleBuddyList *list); |
| 5228 | 186 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
187 | void pidgin_blist_update_columns(void); |
|
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
188 | void pidgin_blist_update_refresh_timeout(void); |
| 5228 | 189 | |
| 190 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
191 | * 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
|
192 | * @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
|
193 | * |
|
29728
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
194 | * Returns the blist emblem. |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
195 | * |
|
62c59080a6bf
Update pidgin_blist_get_emblem() docs to be accurate.
Daniel Atallah <datallah@pidgin.im>
parents:
29673
diff
changeset
|
196 | * 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
|
197 | * so it shouldn't be modified. |
| 15524 | 198 | * |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
199 | * Returns: (transfer full): A GdkPixbuf for the emblem to show, or NULL |
| 15524 | 200 | */ |
| 201 | GdkPixbuf * | |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
202 | pidgin_blist_get_emblem(PurpleBlistNode *node); |
| 15524 | 203 | |
| 204 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
205 | * 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
|
206 | * |
| 5228 | 207 | * Useful for the buddy ticker |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
208 | * |
|
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
209 | * Returns: (transfer full): A #GdkPixbuf of status icon. |
| 5228 | 210 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
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 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
215 | * 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
|
216 | * @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
|
217 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
218 | * 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
|
219 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
220 | * 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
|
221 | * for other types of nodes. |
|
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
222 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
223 | * 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
|
224 | */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
225 | gboolean pidgin_blist_node_is_contact_expanded(PurpleBlistNode *node); |
|
11018
a3843543f132
[gaim-migrate @ 12888]
Richard Laager <rlaager@pidgin.im>
parents:
11016
diff
changeset
|
226 | |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
227 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
228 | * pidgin_blist_toggle_visibility: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
229 | * |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
230 | * Intelligently toggles the visibility of the buddy list. If the buddy |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
231 | * 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
|
232 | * it is hidden. If it is hidden it is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
233 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
234 | void pidgin_blist_toggle_visibility(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
235 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
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_visibility_manager_add: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
238 | * |
|
15692
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
239 | * Increases the reference count of visibility managers. Callers should |
|
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
240 | * call the complementary remove function when no longer managing |
|
ecda27df58b9
Some more pidgininfication
Daniel Atallah <datallah@pidgin.im>
parents:
15577
diff
changeset
|
241 | * visibility. |
|
12017
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 | * A visibility manager is something that provides some method for |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
244 | * 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
|
245 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
246 | void pidgin_blist_visibility_manager_add(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
247 | |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
248 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
249 | * pidgin_blist_visibility_manager_remove: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
250 | * |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
251 | * Decreases the reference count of visibility managers. If the count |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
252 | * drops below zero, the buddy list is shown. |
|
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
253 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
254 | void pidgin_blist_visibility_manager_remove(void); |
|
12017
576096d84889
[gaim-migrate @ 14310]
Daniel Atallah <datallah@pidgin.im>
parents:
11890
diff
changeset
|
255 | |
| 15094 | 256 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
257 | * 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
|
258 | * @widget: The widget to add |
| 15094 | 259 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
260 | * Adds a mini-alert to the blist scrollbook |
| 15094 | 261 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
262 | void pidgin_blist_add_alert(GtkWidget *widget); |
| 15094 | 263 | |
| 5422 | 264 | /************************************************************************** |
| 35472 | 265 | * GTK+ Buddy List sorting functions |
| 5422 | 266 | **************************************************************************/ |
| 267 | ||
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
268 | typedef void (*pidgin_blist_sort_function)(PurpleBlistNode *new, PurpleBuddyList *blist, GtkTreeIter group, GtkTreeIter *cur, GtkTreeIter *iter); |
| 5422 | 269 | |
| 11796 | 270 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
271 | * 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
|
272 | * |
| 11796 | 273 | * Gets the current list of sort methods. |
| 274 | * | |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
275 | * Returns: (transfer none) (element-type PidginBlistSortMethod): A GSlist of sort methods |
| 11796 | 276 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
277 | GList *pidgin_blist_get_sort_methods(void); |
| 5422 | 278 | |
|
35500
ae6432ea326f
Fixed namespace issues in Pidgin.
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
279 | struct _PidginBlistSortMethod { |
| 5631 | 280 | char *id; |
| 5422 | 281 | char *name; |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
282 | pidgin_blist_sort_function func; |
| 5422 | 283 | }; |
| 284 | ||
|
35500
ae6432ea326f
Fixed namespace issues in Pidgin.
Ankit Vani <a@nevitus.org>
parents:
35487
diff
changeset
|
285 | typedef struct _PidginBlistSortMethod PidginBlistSortMethod; |
| 11796 | 286 | |
| 5422 | 287 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
288 | * pidgin_blist_sort_method_reg: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
289 | * @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
|
290 | * @name: The method's name. |
|
38744
48a376346964
Lots of updates for Pidgin-3.0.gir
Gary Kramlich <grim@reaperworld.com>
parents:
37121
diff
changeset
|
291 | * @func: (scope call): A pointer to the function. |
| 5422 | 292 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
293 | * Registers a buddy list sorting method. |
| 5422 | 294 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
295 | void pidgin_blist_sort_method_reg(const char *id, const char *name, pidgin_blist_sort_function func); |
| 5422 | 296 | |
| 297 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
298 | * 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
|
299 | * @id: The method's id |
| 5422 | 300 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
301 | * Unregisters a buddy list sorting method. |
| 5422 | 302 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
303 | void pidgin_blist_sort_method_unreg(const char *id); |
| 5422 | 304 | |
| 305 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
306 | * 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
|
307 | * @id: The method's id. |
| 5422 | 308 | * |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
309 | * Sets a buddy list sorting method. |
| 5422 | 310 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
311 | void pidgin_blist_sort_method_set(const char *id); |
| 5422 | 312 | |
| 313 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
314 | * 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
|
315 | * |
| 5422 | 316 | * Sets up the programs default sort methods |
| 317 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
318 | void pidgin_blist_setup_sort_methods(void); |
| 5422 | 319 | |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
320 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
321 | * pidgin_blist_update_accounts_menu: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
322 | * |
| 12296 | 323 | * Updates the accounts menu on the GTK+ buddy list window. |
|
5936
4bac764cc792
[gaim-migrate @ 6376]
Christian Hammond <chipx86@chipx86.com>
parents:
5906
diff
changeset
|
324 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
325 | void pidgin_blist_update_accounts_menu(void); |
| 5422 | 326 | |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
327 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
328 | * pidgin_blist_update_plugin_actions: |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
329 | * |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
330 | * 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
|
331 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
332 | void pidgin_blist_update_plugin_actions(void); |
|
8986
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
333 | |
|
30ba617356bb
[gaim-migrate @ 9761]
Christopher O'Brien <siege@pidgin.im>
parents:
8940
diff
changeset
|
334 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
335 | * 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
|
336 | * |
| 11796 | 337 | * Updates the Sorting menu on the GTK+ buddy list window. |
| 338 | */ | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
339 | void pidgin_blist_update_sort_methods(void); |
| 11796 | 340 | |
| 341 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
342 | * 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
|
343 | * |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
344 | * Determines if showing the join chat dialog is a valid action. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
345 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
346 | * Returns: Returns TRUE if there are accounts online capable of |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
347 | * joining chat rooms. Otherwise returns FALSE. |
|
8305
5a6d1168a8b3
[gaim-migrate @ 9029]
Christian Hammond <chipx86@chipx86.com>
parents:
8046
diff
changeset
|
348 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
349 | gboolean pidgin_blist_joinchat_is_showable(void); |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
350 | |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
351 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
352 | * 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
|
353 | * |
|
8940
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
354 | * Shows the join chat dialog. |
|
3e22cf150db0
[gaim-migrate @ 9710]
Mark Doliner <markdoliner@pidgin.im>
parents:
8815
diff
changeset
|
355 | */ |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
356 | void pidgin_blist_joinchat_show(void); |
| 5422 | 357 | |
| 9051 | 358 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
359 | * 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
|
360 | * |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
361 | * Appends the privacy menu items for a PurpleBlistNode |
|
15380
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
362 | */ |
| 35473 | 363 | /* TODO Rename these. */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
364 | 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
|
365 | |
|
1171796358b3
[gaim-migrate @ 18109]
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
15300
diff
changeset
|
366 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
367 | * 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
|
368 | * |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
369 | * Appends the protocol specific menu items for a PurpleBlistNode |
| 9051 | 370 | */ |
| 35473 | 371 | /* TODO Rename these. */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
372 | void pidgin_append_blist_node_proto_menu (GtkWidget *menu, PurpleConnection *gc, PurpleBlistNode *node); |
| 9051 | 373 | |
| 374 | /** | |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
375 | * 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
|
376 | * |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
377 | * Appends the extended menu items for a PurpleBlistNode |
| 9051 | 378 | */ |
| 35473 | 379 | /* TODO Rename these. */ |
|
34864
0e292d8887de
Renamed PurpleBListNode back to PurpleBlistNode
Ankit Vani <a@nevitus.org>
parents:
34709
diff
changeset
|
380 | void pidgin_append_blist_node_extended_menu(GtkWidget *menu, PurpleBlistNode *node); |
| 9051 | 381 | |
|
13015
79ca1e6153bd
[gaim-migrate @ 15368]
Mark Doliner <markdoliner@pidgin.im>
parents:
12583
diff
changeset
|
382 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
383 | * pidgin_blist_set_headline: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
384 | * @text: Pango Markup for the label text |
|
39148
6f5b7070a951
gtkblist: Improve icon_name doc for pidgin_blist_set_headline()
Mike Ruprecht <cmaiku@gmail.com>
parents:
39144
diff
changeset
|
385 | * @icon_name: The icon name from the #GtkIconTheme |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
386 | * @callback: The callback to call when headline is clicked |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
387 | * @user_data: The userdata to include in the callback |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
388 | * @destroy: The callback to call when headline is closed or replaced by another headline. |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
389 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
390 | * Sets a headline notification |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
391 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
392 | * This is currently used for mail notification, but could theoretically be used for anything. |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
393 | * Only the most recent headline will be shown. |
| 15243 | 394 | */ |
|
39144
2a3a4a3019f5
Port pidgin_blist_set_headline() from GdkPixbuf to GtkIconTheme
Mike Ruprecht <cmaiku@gmail.com>
parents:
38744
diff
changeset
|
395 | void pidgin_blist_set_headline(const char *text, const gchar *icon_name, |
|
2a3a4a3019f5
Port pidgin_blist_set_headline() from GdkPixbuf to GtkIconTheme
Mike Ruprecht <cmaiku@gmail.com>
parents:
38744
diff
changeset
|
396 | GCallback callback, gpointer user_data, 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 | /** |
|
35415
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
399 | * pidgin_blist_get_name_markup: |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
400 | * @buddy: The buddy to return markup from |
|
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
401 | * @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
|
402 | * @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
|
403 | * |
|
ba28be1a7611
Convert docs from doxygen to gtk-doc format for gtkaccount to gtkconvwin
Ankit Vani <a@nevitus.org>
parents:
35395
diff
changeset
|
404 | * 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
|
405 | * |
|
35393
00f876b129bc
Initial replacements for gtk-doc style comments
Ankit Vani <a@nevitus.org>
parents:
34864
diff
changeset
|
406 | * 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
|
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 | /** |
|
40955
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
411 | * 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
|
412 | * @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
|
413 | * @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
|
414 | * |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
415 | * 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
|
416 | * |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
417 | * 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
|
418 | * |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
419 | * Since: 3.0.0 |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
420 | */ |
|
5afbdae4554a
Use standard GTK tooltips in the conversation.
Elliott Sales de Andrade <quantum.analyst@gmail.com>
parents:
40948
diff
changeset
|
421 | 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
|
422 | |
|
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
|
423 | G_END_DECLS |
| 18970 | 424 | |
|
15562
8c8249fe5e3c
gaim_gtk to pidgin. I hope
Sean Egan <seanegan@pidgin.im>
parents:
15524
diff
changeset
|
425 | #endif /* _PIDGINBLIST_H_ */ |