~ubuntu-branches/ubuntu/trusty/kvirc/trusty

« back to all changes in this revision

Viewing changes to data/defscript/events.kvs

  • Committer: Bazaar Package Importer
  • Author(s): Kai Wasserbäch, Kai Wasserbäch, Raúl Sánchez Siles
  • Date: 2011-02-12 10:40:21 UTC
  • mfrom: (14.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20110212104021-5mh4f75jlku20mnt
The combined "Twisted Experiment" and "Nocturnal Raid" release.

[ Kai Wasserbäch ]
* Synced to upstream's SVN revision 5467.
* debian/rules:
  - Added .PHONY line.
  - Resurrect -DMANUAL_REVISION, got lost somewhere and we build SVN
    revisions again.
  - Replace "-DWITH_NO_EMBEDDED_CODE=YES" with "-DWANT_CRYPTOPP=YES".
  - Change the remaining -DWITH/-DWITHOUT to the new -DWANT syntax.
* debian/control:
  - Removed DMUA, I'm a DD now.
  - Changed my e-mail address.
  - Removed unneeded relationships (no upgrades over two releases are
    supported).
  - Fix Suggests for kvirc-dbg.
  - kvirc-data: Make the "Suggests: kvirc" a Recommends, doesn't make much
    sense to install the -data package without the program.
* debian/source/local-options: Added with "unapply-patches".
* debian/kvirc.lintian-overrides: Updated to work for 4.1.1.
* debian/patches/21_make_shared-mime-info_B-D_superfluous.patch: Updated.
* debian/kvirc-data.install: Added .notifyrc.

[ Raúl Sánchez Siles ]
* Stating the right version where kvirc-data break and replace should happen.
* Fixing link to license file.
* Added French and Portuguese man pages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
event(OnDccChatPopupRequest,default)
4
4
{
5
 
        popup dccchat $dcc.remoteNick($0);
 
5
        popup.show dccchat $dcc.remoteNick($0);
6
6
}
7
7
 
8
8
event(OnChannelPopupRequest,default)
9
9
{
10
 
        popup channeltextview $target;
 
10
        popup.show channeltextview $target;
11
11
}
12
12
 
13
13
event(OnConsolePopupRequest,default)
14
14
{
15
 
        popup consoletextview;
 
15
        popup.show consoletextview;
16
16
}
17
17
 
18
18
event(OnChannelLinkPopupRequest,default)
19
19
{
20
 
        if($0 != "") popup channelpopup $0;
 
20
        if($0 != "") popup.show channelpopup $0;
21
21
}
22
22
 
23
23
event(OnQueryPopupRequest,default)
24
24
{
25
 
        if($target) popup querytextview $target;
 
25
        if($target) popup.show querytextview $target;
26
26
}
27
27
 
28
28
event(OnQueryNickPopupRequest,default)
29
29
{
30
 
        if($0 != "") popup querytextview $0;
 
30
        if($0 != "") popup.show querytextview $0;
31
31
}
32
32
 
33
33
event(OnQueryFileDropped,default)
42
42
 
43
43
event(OnNickLinkPopupRequest,default)
44
44
{
45
 
        if($0 != "") popup defaulttextview $0;
 
45
        if($0 != "") popup.show defaulttextview $0;
46
46
}
47
47
 
48
48
event(OnNotifyListDefaultActionRequest,default)
55
55
 
56
56
event(OnNotifyListPopupRequest,default)
57
57
{
58
 
        if($0 != "") popup defaulttextview $0;
 
58
        if($0 != "") popup.show defaulttextview $0;
59
59
};
60
60
 
61
61
event(OnWindowPopupRequest,default)
62
62
{
63
 
        popup windowpopup;
 
63
        popup.show windowpopup;
64
64
}
65
65
 
66
66
event(OnChannelWindowCreated,default)
67
67
{
68
 
        button(w,Logging,119,Logging)
 
68
        button(w,Logging,119,$tr("Logging","defscript"))
69
69
        {
70
 
                popup -p=$0,$1 logging;
 
70
                popup.show -p=$0,$1 logging;
71
71
        }
72
72
}
73
73
 
74
74
event(OnQueryWindowCreated,default)
75
75
{
76
 
        button(w,Logging,119,Logging)
 
76
        button(w,Logging,119,$tr("Logging","defscript"))
77
77
        {
78
 
                popup -p=$0,$1 logging;
 
78
                popup.show -p=$0,$1 logging;
79
79
        }
80
80
}
81
81
 
82
82
event(OnDCCChatWindowCreated,default)
83
83
{
84
 
        button(w,Logging,119,Logging)
 
84
        button(w,Logging,119,$tr("Logging","defscript"))
85
85
        {
86
 
                popup -p=$0,$1 logging;
 
86
                popup.show -p=$0,$1 logging;
87
87
        }
88
88
}
89
89
 
90
90
event(OnChannelNickLinkClick,default)
91
91
{
92
 
        if($0 != "") window.insertInInputText $window $0$option(stringNickCompletionPostfix);
 
92
        if($0 != "")
 
93
        {
 
94
                window.insertInInputText $window $0$option(stringNickCompletionPostfix);
 
95
                userlist.select $0
 
96
                userlist.ensureVisible $0
 
97
        }
93
98
}
94
99
 
95
100
event(OnChannelNickPopupRequest,default)
96
101
{
97
 
        if($0 != "") popup channel $0;
 
102
        if($0 != "") popup.show channel $0;
98
103
}
99
104
 
100
105
event(OnChannelNickDefaultActionRequest,default)
102
107
        if(!$isEmpty($0)) query $0;
103
108
}
104
109
 
 
110
event(OnURLLinkClick,default)
 
111
{
 
112
        openurl $0
 
113
}
 
114
 
105
115
event(OnURLLinkPopupRequest,URL popup)
106
116
{
107
 
        popup urlpopup $0
 
117
        popup.show urlpopup $0
108
118
}
109
119
 
110
120
event(OnHostLinkPopupRequest,default)
111
121
{
112
 
        popup hostpopup $0;
 
122
        popup.show hostpopup $0;
113
123
}