X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/snom-frontend/blobdiff_plain/f0fad26da5554c435bccb5f6cb117fe49f2e97e2..73968c99ffcdda340c8557341f587085031cbf39:/snom.pl diff --git a/snom.pl b/snom.pl index bcfdfe8..220c9d9 100755 --- a/snom.pl +++ b/snom.pl @@ -1,5 +1,5 @@ #!/bin/sh -#$Id: snom.pl,v 1.27 2006-05-22 11:18:14 michael Exp $ +#$Id: snom.pl,v 1.28 2006-05-22 11:22:30 michael Exp $ # http://developer.gnome.org/doc/API/2.2/gtk/gtk-migrating-GtkComboBox.html @@ -53,6 +53,8 @@ for my $section (@sections) { } } $g_host->set_active(0); +UpdatePhoneInfo(); +$g_host->signal_connect(changed => \&UpdatePhoneInfo); $g_host->show(); set_locale Gtk2; @@ -344,6 +346,11 @@ sub KBDInput return FALSE; } +sub UpdatePhoneInfo +{ + print "TODO: Update PhoneInfo from <".${$Config{$sections[$g_host->get_active]}}{host}."> here!\n"; +} + sub CloseAppWindow { $window->destroy;