From f63da47a9c45ebc931441c36c530e7db03386fd4 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 1 Mar 2005 18:34:18 +0000 Subject: (Gtk2::ComboBox::set_popdown_strings) clear model before filling the list --- perl-install/ugtk2.pm | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.1