ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/perl/selection-popup
(Generate patch)

Comparing rxvt-unicode/src/perl/selection-popup (file contents):
Revision 1.13 by root, Wed Jan 18 11:05:09 2006 UTC vs.
Revision 1.14 by root, Thu Jan 19 09:47:15 2006 UTC

69 69
70 /[\\"'\ \t|&;<>()]/ 70 /[\\"'\ \t|&;<>()]/
71 and $add_button->("shell quote" => sub { $_ = "\Q$_" }); 71 and $add_button->("shell quote" => sub { $_ = "\Q$_" });
72 72
73 /^(http|ftp|telnet|irc|news):\// 73 /^(http|ftp|telnet|irc|news):\//
74 and $add_button->("run $self->{browser}" => sub { urxvt::exec_async $self->{browser}, $_ }); 74 and $add_button->("run $self->{browser}" => sub { $self->exec_async ($self->{browser}, $_) });
75 75
76 for my $hook (@hook) { 76 for my $hook (@hook) {
77 if (my ($title, $cb) = $hook->($popup)) { 77 if (my ($title, $cb) = $hook->($popup)) {
78 $add_button->($title, $cb); 78 $add_button->($title, $cb);
79 } 79 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines