*** empty log message ***
authorroot <root>
Mon, 9 Jan 2006 19:25:57 +0000 (19:25 +0000)
committerroot <root>
Mon, 9 Jan 2006 19:25:57 +0000 (19:25 +0000)
src/urxvt.pm

index a85af1dbc3295684da375740510743bede66b9cd..62cb9aec797e70949f192cf4bc74c0935e5ee254 100644 (file)
@@ -1175,7 +1175,7 @@ sub add_separator {
    $self->add_item ({
       rend => { normal => "\x1b[0;30;47m", hover => "\x1b[0;30;47m", active => "\x1b[0;30;47m" },
       text => "",
-      render => sub { $sep x $urxvt::TERM->ncol },
+      render => sub { $sep x $self->{term}->ncol },
       activate => sub { },
    });
 }
@@ -1215,6 +1215,8 @@ sub show {
 
    local $urxvt::popup::self = $self;
 
+   local $ENV{LC_ALL} = $self->{term}->locale;
+
    urxvt->new ("--perl-lib" => "", "--perl-ext-common" => "", "-pty-fd" => -1, "-sl" => 0, "-b" => 0,
                "--transient-for" => $self->{term}->parent,
                "-display" => $self->{term}->display_id,