diff options
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r-- | perl-install/my_gtk.pm | 1 |
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); |