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

Comparing rxvt-unicode/src/perl/selection-pastebin (file contents):
Revision 1.18 by root, Wed Jun 6 15:06:41 2012 UTC vs.
Revision 1.19 by root, Sun Jun 10 13:58:06 2012 UTC

60} 60}
61 61
62sub on_start { 62sub on_start {
63 my ($self) = @_; 63 my ($self) = @_;
64 64
65 $self->{pastebin_cmd} = $self->x_resource ("selection-pastebin.cmd") 65 $self->{pastebin_cmd} = $self->x_resource ("%.cmd")
66 || "rcp -p % ruth:/var/www/www.ta-sa.org/files/txt/"; 66 || "rcp -p % ruth:/var/www/www.ta-sa.org/files/txt/";
67 67
68 $self->{pastebin_url} = $self->x_resource ("selection-pastebin.url") 68 $self->{pastebin_url} = $self->x_resource ("%.url")
69 || "http://www.ta-sa.org/files/txt/%"; 69 || "http://www.ta-sa.org/files/txt/%";
70 70
71 push @{ $self->{term}{selection_popup_hook} }, sub { 71 push @{ $self->{term}{selection_popup_hook} }, sub {
72 ("pastebin upload" => sub { $self->upload_paste }) 72 ("pastebin upload" => sub { $self->upload_paste })
73 }; 73 };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines