summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/logdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-08-02 04:25:23 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-08-02 04:25:23 +0000
commit07a103131590cd80efc6fa736717f369d07288cb (patch)
tree0b323bd8cde865ef5f9a3e844642ae6d596547c2 /perl-install/standalone/logdrake
parent023902b2e5b2866488aaf53ddd6a590d1de7ff22 (diff)
downloaddrakx-07a103131590cd80efc6fa736717f369d07288cb.tar
drakx-07a103131590cd80efc6fa736717f369d07288cb.tar.gz
drakx-07a103131590cd80efc6fa736717f369d07288cb.tar.bz2
drakx-07a103131590cd80efc6fa736717f369d07288cb.tar.xz
drakx-07a103131590cd80efc6fa736717f369d07288cb.zip
(log_output__real) rename it as insert_text_n_scroll() in order to better
reflect what it does
Diffstat (limited to 'perl-install/standalone/logdrake')
-rwxr-xr-xperl-install/standalone/logdrake6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 21be51b6d..de563c262 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -283,7 +283,7 @@ sub parse_file {
seek F, 0, 1;
});
}
- log_output__real();
+ insert_text_n_scroll();
}
@@ -336,7 +336,7 @@ sub logcolorize {
log_output("$rec[$therest] ", undef, $col);
}
log_output("\n", undef, 'black');
- log_output__real() if $isExplain;
+ insert_text_n_scroll() if $isExplain;
}
@@ -348,7 +348,7 @@ sub log_output {
$log_buf->{tags}{$tag} ||= { if_($font, font => $font), foreground => $col };
}
-sub log_output__real() {
+sub insert_text_n_scroll() {
ugtk2::gtktext_insert($log_text, \@logs, { append => !($isExplain || $isTail) });
$log_text->scroll_to_iter($log_buf->get_end_iter, 0, 1, 0.5, 0.5);
undef @logs;