From e43da30d586f23652303f70bef02b4c990640302 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 22 May 2006 12:22:00 +0000 Subject: [PATCH 1/1] better purging --- snom.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5