ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/urxvt.pm
(Generate patch)

Comparing rxvt-unicode/src/urxvt.pm (file contents):
Revision 1.51 by root, Sun Jan 8 00:27:47 2006 UTC vs.
Revision 1.52 by root, Sun Jan 8 00:48:14 2006 UTC

1043 1043
1044 my $item; $item = { 1044 my $item; $item = {
1045 type => "button", 1045 type => "button",
1046 text => " $text", 1046 text => " $text",
1047 value => $value, 1047 value => $value,
1048 render => sub { ($item->{value} ? "" : " ") . $text }, 1048 render => sub { ($item->{value} ? "* " : " ") . $text },
1049 activate => sub { $cb->($item->{value} = !$item->{value}); }, 1049 activate => sub { $cb->($item->{value} = !$item->{value}); },
1050 }; 1050 };
1051 1051
1052 $self->add_item ($item); 1052 $self->add_item ($item);
1053} 1053}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines