Mercurial > pidgin.yaz
annotate doc/gtkblist-signals.dox @ 12115:e9790eb93216
[gaim-migrate @ 14415]
quoth charkins:
" This patch has a few small fixes for the visibility
stuff in gtkblist.c.
First, tracking of the ICONIFIED state of the blist was
removed. This was intended to allow the blist to
"remember" if it was minimized between restarts.
Unfortunately, this is not possible because the
ICONIFIED state gets set when the blist is on a
different desktop with many window managers.
Second, while talking about the ICONIFIED issue on
#gtk@GIMPNet, muntyan_ asked about a bug where the
blist would get shown on an account re-connect with
1.5.0. Luke mentioned something about this with cvs as
well. This patch introduces a check in
gaim_gtk_blist_show() to prevent the window from being
shown if it already exists and is visible.
Third, sadrul pointed me to a one-line fix for the
missing blist on startup. I added a second line to make
sure the blist restores its proper size as well.
Finally, when the last visibility manager is removed,
gaim will now minimize the blist if it was previously
hidden, rather than showing it. This could prevent a
race condition with out-of-process applets, preventing
gaim from maintaining the visibility state properly
between restarts.
This was 'cvs diff'ed against the last available anon
cvs from Friday. Hopefully it'll apply cleanly."
it did.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Wed, 16 Nov 2005 17:55:26 +0000 |
parents | 24c7fb94d3a3 |
children | 5bc3d67ceb24 |
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 |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
14 void (*gtkblist-hiding)(GaimBuddyList *blist); |
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 |
24c7fb94d3a3
[gaim-migrate @ 14309]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
10477
diff
changeset
|
23 void (*gtkblist-unhiding)(GaimBuddyList *blist); |
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 | |
9568 | 32 void (*gtkblist-created)(GaimBuddyList *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 | |
10477 | 41 void (*drawing-tooltip)(GaimBlistNode *node, GString *text); |
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. | |
51 @endsignaldef | |
52 */ |