summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-26 14:27:36 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-26 14:27:36 +0000
commit5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5 (patch)
tree6fcb1061f61245f6733c6fc8d17683ee9ce1f2ca /perl-install/install_steps_gtk.pm
parent893a0a70abc449d8dad2212923b4eed33d7c169d (diff)
downloaddrakx-backup-do-not-use-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar
drakx-backup-do-not-use-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar.gz
drakx-backup-do-not-use-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar.bz2
drakx-backup-do-not-use-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.tar.xz
drakx-backup-do-not-use-5f0d2865f5e6d01e0bb4ab32d70b637518e26fa5.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index f19d42560..a9d4984d9 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -350,14 +350,15 @@ sub choosePackagesTree {
my $details = new Gtk::VBox(0,0);
my $tree = Gtk::CTree->new(3, 0);
$tree->set_selection_mode('browse');
- $tree->set_column_auto_resize($_, 1) foreach 0..2;
+ $tree->set_column_width(0, 200);
+ $tree->set_column_auto_resize($_, 1) foreach 1..2;
gtkadd($w->{window},
gtkpack_(new Gtk::VBox(0,5),
0, _("Choose the packages you want to install"),
1, gtkpack(new Gtk::HBox(0,0),
createScrolledWindow($tree),
- gtkadd(gtkset_usize(new Gtk::Frame(_("Info")), 125, 0),
+ gtkadd(gtkset_usize(new Gtk::Frame(_("Info")), 150, 0),
createScrolledWindow($info_widget = new Gtk::Text),
)),
0, my $l = new Gtk::HBox(0,15),
@@ -440,6 +441,7 @@ sub choosePackagesTree {
my $imp = translate($pkgs::compssListDesc{pkgs::packageFlagBase($p) ? 100 : round_down($p->{values}[$ind], 10)});
gtktext_insert($info_widget, $@ ? _("Bad package") :
+ _("Name: %s\n", pkgs::packageName($p)) .
_("Version: %s\n", pkgs::packageVersion($p) . '-' . pkgs::packageRelease($p)) .
_("Size: %d KB\n", pkgs::packageSize($p) / 1024) .
($imp && _("Importance: %s\n", $imp)) . "\n" .