summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-09-08 08:25:57 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-09-08 08:25:57 +0000
commitc4a34685a2cd2fdf7fd1b30d2bd89f5ba5d5f9cd (patch)
tree4642a0ae03e80dc71cb8853121d50b2879223248 /common
parentd30a2690ad9b7f0dedb3ea50e11c8089a320380f (diff)
downloaddrakwizard-c4a34685a2cd2fdf7fd1b30d2bd89f5ba5d5f9cd.tar
drakwizard-c4a34685a2cd2fdf7fd1b30d2bd89f5ba5d5f9cd.tar.gz
drakwizard-c4a34685a2cd2fdf7fd1b30d2bd89f5ba5d5f9cd.tar.bz2
drakwizard-c4a34685a2cd2fdf7fd1b30d2bd89f5ba5d5f9cd.tar.xz
drakwizard-c4a34685a2cd2fdf7fd1b30d2bd89f5ba5d5f9cd.zip
add more information in gtk_log box
Diffstat (limited to 'common')
-rw-r--r--common/Wizcommon_gtk2.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/Wizcommon_gtk2.pm b/common/Wizcommon_gtk2.pm
index 9418bde6..41c63e8a 100644
--- a/common/Wizcommon_gtk2.pm
+++ b/common/Wizcommon_gtk2.pm
@@ -65,13 +65,14 @@ sub gtk_log {
use lib qw(/usr/lib/libDrakX);
use ugtk2 qw(:wrappers);
use mygtk2 qw(gtknew);
- my ($command) = @_;
+ my ($command, $text) = @_;
my $log_text = gtknew('TextView');
my $my_win = ugtk2->new("");
my $window1 = $my_win->{window};
#my $pid;
gtkadd($window1,
- gtknew('VBox', spacing => 1, children => [
+ gtknew('VBox', spacing => 3, children => [
+ 0, Gtk2::Label->new($text),
1, gtknew('ScrolledWindow', child => $log_text),
# 0, gtksignal_connect(gtknew('Button', text => N("cancel")), clicked => sub {
# if ($pid) {