]> git.zerfleddert.de Git - snom-frontend/commitdiff
changed stub
authormichael <michael>
Mon, 22 May 2006 11:22:30 +0000 (11:22 +0000)
committermichael <michael>
Mon, 22 May 2006 11:22:30 +0000 (11:22 +0000)
snom.pl

diff --git a/snom.pl b/snom.pl
index bcfdfe8dae361717009b7f7bbaeb8038613a679c..220c9d9e49dea4022f13c6828d74942beac491f0 100755 (executable)
--- 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;
Impressum, Datenschutz