Mercurial > pidgin.yaz
annotate doc/gtkblist-signals.dox @ 17176:9a649a04fd74
When the /pidgin/debug/enabled pref is toggled, wait until the next
iteration through the event loop before drawing or hiding the window.
This fixes the bug where we lost the width and height prefs for the
debug window because of the following sequence of event
1. Init gtkdebug window, set default width and height
2. Read in pref for /pidgin/debug/enabled and show debug window using
default width and height
3. Read in pref for /pidgin/debug/width and height, but it's too
late! The window has already been drawn using the default
width and height!
This is a pretty minor thing, but it was bugging me. I don't like
having to always make the debug window bigger when I start Pidgin.
The downside of this change is that we won't see as much debug output
in the window when starting Pidgin.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 22 May 2007 07:08:57 +0000 |
parents | 8cf53d7a0887 |
children | e0613cf8c493 |
rev | line source |
---|---|
9001 | 1 /** @page gtkblist-signals GtkBlist Signals |
2 | |
3 @signals | |
12016
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
4 @signal gtkblist-hiding |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
5 @signal gtkblist-unhiding |
9001 | 6 @signal gtkblist-created |
7 @signal drawing-tooltip | |
8 @endsignals | |
9 | |
10 <hr> | |
11 | |
12016
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
12 @signaldef gtkblist-hiding |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
13 @signalproto |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
12713
diff
changeset
|
14 void (*gtkblist-hiding)(PurpleBuddyList *blist); |
12016
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
15 @endsignalproto |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
16 @signaldesc |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
17 Emitted when the buddy list is about to be hidden. |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
18 @param blist The buddy list. |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
19 @endsignaldef |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
20 |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
21 @signaldef gtkblist-unhiding |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
22 @signalproto |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
12713
diff
changeset
|
23 void (*gtkblist-unhiding)(PurpleBuddyList *blist); |
12016
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
24 @endsignalproto |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
25 @signaldesc |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
26 Emitted when the buddy list is about to be unhidden. |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
27 @param blist The buddy list. |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
28 @endsignaldef |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
29 |
9001 | 30 @signaldef gtkblist-created |
31 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
12713
diff
changeset
|
32 void (*gtkblist-created)(PurpleBuddyList *blist); |
9001 | 33 @endsignalproto |
34 @signaldesc | |
35 Emitted when the buddy list is created. | |
36 @param blist The buddy list. | |
37 @endsignaldef | |
38 | |
39 @signaldef drawing-tooltip | |
40 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
12713
diff
changeset
|
41 void (*drawing-tooltip)(PurpleBlistNode *node, GString *text, gboolean full); |
9001 | 42 @endsignalproto |
43 @signaldesc | |
44 Emitted just before a tooltip is displayed. | |
10477 | 45 @a text is a standard GString, so the plugin can modify the text that |
9001 | 46 will be displayed. |
47 @note | |
48 Make sure to free @a *text before you replace it! | |
49 @param node The blist node for the tooltip. | |
50 @param text A pointer to the text that will be displayed. | |
12713
d7043c3c793d
[gaim-migrate @ 15057]
Richard Laager <rlaager@wiktel.com>
parents:
12291
diff
changeset
|
51 @param full Whether we're doing a full tooltip for the priority buddy or |
d7043c3c793d
[gaim-migrate @ 15057]
Richard Laager <rlaager@wiktel.com>
parents:
12291
diff
changeset
|
52 a compact tooltip for a non-priority buddy. |
9001 | 53 @endsignaldef |
54 */ | |
12291
5bc3d67ceb24
[gaim-migrate @ 14595]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12016
diff
changeset
|
55 // vim: syntax=c tw=75 et |