Mercurial > pidgin
annotate doc/connection-signals.dox @ 18618:2f0bda21712f
purple_request_action doesn't call any callbacks if the user closes the
window instead of clicking on the buttons. The problem is that
purple_request_action is not required to have a cancel action, so when the
close button is clicked the UI has no idea which action should be called.
The closest one would be the default action, but when the user clicks
cancel, he probably expects to cancel even if that's not the default action.
Workaround by telling the window manager we don't want to have a close
button. Fixes #1947
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Mon, 23 Jul 2007 02:33:41 +0000 |
parents | 8cf53d7a0887 |
children | e0613cf8c493 |
rev | line source |
---|---|
6724
aca39e77db85
[gaim-migrate @ 7251]
Christian Hammond <chipx86@chipx86.com>
parents:
6611
diff
changeset
|
1 /** @page connection-signals Connection Signals |
6611 | 2 |
3 @signals | |
4 @signal signing-on | |
5 @signal signed-on | |
6 @signal signing-off | |
7 @signal signed-off | |
8 @endsignals | |
9 | |
10 <hr> | |
11 | |
12 @signaldef signing-on | |
13 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
6724
diff
changeset
|
14 void (*signing_on)(PurpleConnection *gc); |
6611 | 15 @endsignalproto |
16 @signaldesc | |
17 Emitted when a connection is about to sign on. | |
18 @param gc The connection that is about to sign on. | |
19 @endsignaldef | |
20 | |
21 @signaldef signed-on | |
22 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
6724
diff
changeset
|
23 void (*signed_on)(PurpleConnection *gc); |
6611 | 24 @endsignalproto |
25 @signaldesc | |
26 Emitted when a connection has signed on. | |
27 @param gc The connection that has signed on. | |
28 @endsignaldef | |
29 | |
30 @signaldef signing-off | |
31 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
6724
diff
changeset
|
32 void (*signing_off)(PurpleConnection *gc); |
6611 | 33 @endsignalproto |
34 @signaldesc | |
35 Emitted when a connection is about to sign off. | |
36 @param gc The connection that is about to sign off. | |
37 @endsignaldef | |
38 | |
39 @signaldef signed-off | |
40 @signalproto | |
16183
8cf53d7a0887
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@wiktel.com>
parents:
6724
diff
changeset
|
41 void (*signed_off)(PurpleConnection *gc); |
6611 | 42 @endsignalproto |
43 @signaldesc | |
44 Emitted when a connection has signed off. | |
45 @param gc The connection that has signed off. | |
46 @endsignaldef | |
47 | |
48 */ | |
49 // vim: syntax=c tw=75 et |