[Phonehome-commits] r32 - trunk/frontend/src

pamadio at garage.maemo.org pamadio at garage.maemo.org
Wed Oct 15 21:07:38 EEST 2008


Author: pamadio
Date: 2008-10-15 21:07:38 +0300 (Wed, 15 Oct 2008)
New Revision: 32

Modified:
   trunk/frontend/src/phonehome-gui
Log:
should work

Modified: trunk/frontend/src/phonehome-gui
===================================================================
--- trunk/frontend/src/phonehome-gui	2008-10-15 17:58:41 UTC (rev 31)
+++ trunk/frontend/src/phonehome-gui	2008-10-15 18:07:38 UTC (rev 32)
@@ -78,12 +78,18 @@
         gtk.main()
         
     def end_application(self,widget=False):
+        print "end app"
         gtk.main_quit()
 
     def ok_button_clicked(self,widget):
         print "ok"
-
+        self.gconf_default.set_string(self.gconf_root+"/id",self.tid_entry.get_text())
+        self.gconf_default.set_string(self.gconf_root+"/password",self.password_entry.get_text())
+        self.gconf_default.set_string(self.gconf_root+"/server",self.server_entry.get_text())
+        self.end_application()
+        
     def cancel_button_clicked(self,widget):
+        "cancel"
         self.end_application()
 """
 locale.setlocale(locale.LC_ALL, "fr_FR")



More information about the Phonehome-commits mailing list