fixed API misssspelling
authorFredrik Wendt <fredrik@wendt.se>
Wed, 28 Jul 2010 20:43:47 +0000 (21:43 +0100)
committerFredrik Wendt <fredrik@wendt.se>
Wed, 28 Jul 2010 20:43:47 +0000 (21:43 +0100)
package/src/wifi_assistant/daemon.py

index b9f04f7..8e1dfae 100644 (file)
@@ -50,13 +50,13 @@ class Daemon():
         
         launchBrowser = (result == gtk.RESPONSE_YES)
         if checkbox.get_active():
         
         launchBrowser = (result == gtk.RESPONSE_YES)
         if checkbox.get_active():
-            self._settings.setLaunchSettings(ssid, launchBrowser)
+            self._settings.setLaunchSetting(ssid, launchBrowser)
         
         return launchBrowser
     
     
     def connection_established(self, ssid):
         
         return launchBrowser
     
     
     def connection_established(self, ssid):
-        value = self._settings.getLaunchSettings(ssid)
+        value = self._settings.getLaunchSetting(ssid)
         if value is None:
             if self.show_decision_dialog(ssid):
                 self.launch_browser()
         if value is None:
             if self.show_decision_dialog(ssid):
                 self.launch_browser()