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 bcfdfe8..220c9d9 100755 (executable)
--- a/snom.pl
+++ b/snom.pl
@@ -1,5 +1,5 @@
 #!/bin/sh
 #!/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
 
 
 # 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);
        }
 }
 $g_host->set_active(0);
+UpdatePhoneInfo();
+$g_host->signal_connect(changed => \&UpdatePhoneInfo);
 $g_host->show();
 
 set_locale Gtk2;
 $g_host->show();
 
 set_locale Gtk2;
@@ -344,6 +346,11 @@ sub KBDInput
        return FALSE;
 }
 
        return FALSE;
 }
 
+sub UpdatePhoneInfo
+{
+       print "TODO: Update PhoneInfo from <".${$Config{$sections[$g_host->get_active]}}{host}."> here!\n";
+}
+
 sub CloseAppWindow
 {
        $window->destroy;
 sub CloseAppWindow
 {
        $window->destroy;
Impressum, Datenschutz