ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/BindingEditor.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/BindingEditor.pm (file contents):
Revision 1.6 by root, Wed Sep 20 15:59:04 2006 UTC vs.
Revision 1.7 by root, Sun Oct 1 14:48:51 2006 UTC

129 $self 129 $self
130} 130}
131 131
132sub cfg_bind { 132sub cfg_bind {
133 my ($self, $mod, $sym, $cmds) = @_; 133 my ($self, $mod, $sym, $cmds) = @_;
134 $::CFG->{profile}{default}{bindings}{$mod}{$sym} = $cmds; 134 $::PROFILE->{bindings}{$mod}{$sym} = $cmds;
135 ::update_bindings (); 135 ::update_bindings ();
136} 136}
137 137
138sub cfg_unbind { 138sub cfg_unbind {
139 my ($self, $mod, $sym, $cmds) = @_; 139 my ($self, $mod, $sym, $cmds) = @_;
140 delete $::CFG->{profile}{default}{bindings}{$mod}{$sym}; 140 delete $::PROFILE->{bindings}{$mod}{$sym};
141 ::update_bindings (); 141 ::update_bindings ();
142} 142}
143 143
144sub commit { 144sub commit {
145 my ($self) = @_; 145 my ($self) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines