diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-01 18:34:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-03-01 18:34:18 +0000 |
commit | f63da47a9c45ebc931441c36c530e7db03386fd4 (patch) | |
tree | 00b31e5934c9f05bae8923b296591605484adc0b | |
parent | 527e006edfb975d379ba5d3d260bb09fcf2b9072 (diff) | |
download | drakx-f63da47a9c45ebc931441c36c530e7db03386fd4.tar drakx-f63da47a9c45ebc931441c36c530e7db03386fd4.tar.gz drakx-f63da47a9c45ebc931441c36c530e7db03386fd4.tar.bz2 drakx-f63da47a9c45ebc931441c36c530e7db03386fd4.tar.xz drakx-f63da47a9c45ebc931441c36c530e7db03386fd4.zip |
(Gtk2::ComboBox::set_popdown_strings) clear model before filling the list
-rw-r--r-- | perl-install/ugtk2.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 4a3bfb86c..10d5b4aa3 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -1451,6 +1451,7 @@ use common; # try to get combox <==> option menu mapping sub set_popdown_strings { my ($w, @strs) = @_; + $w->get_model->clear; # keep string list around for ->set_text compatibilty helper $w->{strings} = \@strs; $w->append_text($_) foreach @strs; |