summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-13 11:41:53 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-13 11:41:53 +0000
commit3edbeac41e23ee13ff3e0c9c815c4ab93b279fd2 (patch)
treefbc6900f93a37f93731d0be67b95fa5a83928564 /perl-install/my_gtk.pm
parent5521ae98ce86e69166df6f72126bf0c300c069f4 (diff)
downloaddrakx-3edbeac41e23ee13ff3e0c9c815c4ab93b279fd2.tar
drakx-3edbeac41e23ee13ff3e0c9c815c4ab93b279fd2.tar.gz
drakx-3edbeac41e23ee13ff3e0c9c815c4ab93b279fd2.tar.bz2
drakx-3edbeac41e23ee13ff3e0c9c815c4ab93b279fd2.tar.xz
drakx-3edbeac41e23ee13ff3e0c9c815c4ab93b279fd2.zip
no_comment
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 2f8eb812e..02812483f 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -130,6 +130,7 @@ sub gtkadd($@) {
sub gtktext_insert($$) {
my ($w, $t) = @_;
+ $w->backward_delete($w->get_length);
$w->insert(undef, undef, undef, "$t\n"); #- needs \n otherwise in case of one line text the beginning is not shown (even with the vadj->set_value)
$w->set_word_wrap(1);
$w->vadj->set_value(0);