diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-17 15:52:57 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-17 15:52:57 +0000 |
commit | a3a01f4ee06aa9df8dcdaaf30cf9e27f3049e55d (patch) | |
tree | a8c3e7282f8601efe5b6059a14cbc62593e46804 /Rpmdrake/gui.pm | |
parent | f4aabe2d824f5e8c3c0576acbbb91a2676dfe760 (diff) | |
download | rpmdrake-a3a01f4ee06aa9df8dcdaaf30cf9e27f3049e55d.tar rpmdrake-a3a01f4ee06aa9df8dcdaaf30cf9e27f3049e55d.tar.gz rpmdrake-a3a01f4ee06aa9df8dcdaaf30cf9e27f3049e55d.tar.bz2 rpmdrake-a3a01f4ee06aa9df8dcdaaf30cf9e27f3049e55d.tar.xz rpmdrake-a3a01f4ee06aa9df8dcdaaf30cf9e27f3049e55d.zip |
(extract_header,format_pkg_simplifiedinfo) indent expanders' contents
Diffstat (limited to 'Rpmdrake/gui.pm')
-rw-r--r-- | Rpmdrake/gui.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index f115497f..d71d5068 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -111,7 +111,7 @@ sub format_pkg_simplifiedinfo { push @$s, [ "\n" ]; push @$s, [ gtkadd(gtkshow(my $exp0 = Gtk2::Expander->new(format_field(N("Details:")))), gtknew('TextView', text => ugtk2::markup_to_TextView_format( - join("\n", + $spacing . join("\n$spacing", format_field(N("Version: ")) . $version, ($pkgs->{$key}{pkg}->flag_installed ? @@ -129,7 +129,7 @@ sub format_pkg_simplifiedinfo { push @$s, [ gtkadd(gtkshow(my $exp = Gtk2::Expander->new(format_field(N("Files:")))), gtknew('TextView', text => exists $pkgs->{$key}{files} ? - ugtk2::markup_to_TextView_format('<tt>' . join("\n", map { "\x{200e}$_" } @{$pkgs->{$key}{files}}) . '</tt>') #- to highlight information + ugtk2::markup_to_TextView_format('<tt>' . $spacing . join("\n$spacing", map { "\x{200e}$_" } @{$pkgs->{$key}{files}}) . '</tt>') #- to highlight information : N("(Not available)"), )) ]; $exp->set_use_markup(1); |