summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-01-06 15:14:18 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-01-06 15:14:18 +0000
commit5547e51ebb789dabb23091aea0115b0a3ea7b878 (patch)
tree35997e570bb05a58ff11a5673abc962d9407efbc
parent1ec52966c5b77d6bb8b173266d0801b8b1064246 (diff)
downloaddrakx-5547e51ebb789dabb23091aea0115b0a3ea7b878.tar
drakx-5547e51ebb789dabb23091aea0115b0a3ea7b878.tar.gz
drakx-5547e51ebb789dabb23091aea0115b0a3ea7b878.tar.bz2
drakx-5547e51ebb789dabb23091aea0115b0a3ea7b878.tar.xz
drakx-5547e51ebb789dabb23091aea0115b0a3ea7b878.zip
prevent one to write in log buffer
-rwxr-xr-xperl-install/standalone/logdrake2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake
index 66e9b6fd3..891dcf5f8 100755
--- a/perl-install/standalone/logdrake
+++ b/perl-install/standalone/logdrake
@@ -150,6 +150,7 @@ my %files = (
my $yy = gtkset_sensitive(gtksignal_connect(new Gtk2::Button(N("search")) , clicked => \&search),0);
my $log_text = new Gtk2::TextView;
+$log_text->set_property('editable', 0);
my $log_buf = $log_text->get_buffer();
my $refcount_search;
#### far from window
@@ -361,6 +362,7 @@ sub logcolorize {
# log_output (Gtk2::TextView, [ [ ... ] ])
sub log_output {
gtktext_append($log_text, [ \@_ ]);
+# $log_buf->insert($buf->get_end_iter(), @_, -1);
}