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

Comparing deliantra/Deliantra-Client/DC/MapWidget.pm (file contents):
Revision 1.68 by elmex, Sun Jun 25 13:42:45 2006 UTC vs.
Revision 1.69 by root, Mon Jun 26 21:59:04 2006 UTC

488 my ($entry, $ev, $x, $y) = @_; 488 my ($entry, $ev, $x, $y) = @_;
489 489
490 if ($ev->{button} == 3) { 490 if ($ev->{button} == 3) {
491 (new CFClient::UI::Menu 491 (new CFClient::UI::Menu
492 items => [ 492 items => [
493 ["bind <i>" . (CFClient::UI::Label::escape $self->{select}) . "</i> to a key"
493 ["bind to a key" => sub { $::BIND_EDITOR->do_quick_binding ([$self->{select}], sub { $entry->grab_focus }) }] 494 => sub { $::BIND_EDITOR->do_quick_binding ([$self->{select}], sub { $entry->grab_focus }) }]
494 ], 495 ],
495 )->popup ($ev); 496 )->popup ($ev);
496 return 1; 497 return 1;
497 } 498 }
498 0 499 0

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines