summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/logdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-03-04 15:26:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-03-04 15:26:28 +0000
commit515e1e51f8c9e67bf201781a6bfd2bf61ca69667 (patch)
tree4f4ad1ab56609089acbdccffa9d1e5651ed3896c /perl-install/standalone/logdrake
parenta7dec2b7d45d2b9fa1acc8b72d9dd87987168413 (diff)
downloaddrakx-backup-do-not-use-515e1e51f8c9e67bf201781a6bfd2bf61ca69667.tar
drakx-backup-do-not-use-515e1e51f8c9e67bf201781a6bfd2bf61ca69667.tar.gz
drakx-backup-do-not-use-515e1e51f8c9e67bf201781a6bfd2bf61ca69667.tar.bz2
drakx-backup-do-not-use-515e1e51f8c9e67bf201781a6bfd2bf61ca69667.tar.xz
drakx-backup-do-not-use-515e1e51f8c9e67bf201781a6bfd2bf61ca69667.zip
scroll back when logging
Diffstat (limited to 'perl-install/standalone/logdrake')
-rwxr-xr-xperl-install/standalone/logdrake3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 238d21275..536a1613c 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -364,7 +364,8 @@ sub logcolorize {
# log_output (Gtk2::TextView, [ [ ... ] ])
sub log_output {
gtktext_append($log_text, [ \@_ ]);
-# $log_buf->insert($buf->get_end_iter(), @_, -1);
+ $log_text->scroll_to_iter(my $iter = $log_buf->get_end_iter, 0, 1, 0.5, 0.5);
+ $iter->free;
}