From: michael Date: Mon, 22 May 2006 12:22:00 +0000 (+0000) Subject: better purging X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/snom-frontend/commitdiff_plain/e43da30d586f23652303f70bef02b4c990640302 better purging --- diff --git a/snom.pl b/snom.pl index b9e0081..9205a57 100755 --- a/snom.pl +++ b/snom.pl @@ -1,5 +1,5 @@ #!/bin/sh -#$Id: snom.pl,v 1.36 2006-05-22 12:20:15 michael Exp $ +#$Id: snom.pl,v 1.37 2006-05-22 12:22:00 michael Exp $ # http://developer.gnome.org/doc/API/2.2/gtk/gtk-migrating-GtkComboBox.html @@ -356,7 +356,7 @@ sub UpdatePhoneInfo my $response = $ua->request($req); $g_identity->set_active(0); - while(defined($g_identity->get_active_text())) { + while($g_identity->get_active() == 0) { $g_identity->remove_text(0); $g_identity->set_active(0); }