Disable app-based auto-update (application left running)
authorYves <yves@marcoz.org>
Thu, 22 Dec 2011 22:48:22 +0000 (14:48 -0800)
committerYves <yves@marcoz.org>
Thu, 22 Dec 2011 22:48:22 +0000 (14:48 -0800)
src/FeedingIt.py
src/config.py

index 29dc7fa..c6e661c 100644 (file)
@@ -1259,7 +1259,7 @@ class FeedingIt:
 
         # Check whether auto-update is enabled.
         self.autoupdate = False
-        self.checkAutoUpdate()
+        #self.checkAutoUpdate()
 
         gobject.idle_add(self.build_feed_display)
         gobject.idle_add(self.check_for_woodchuck)
index 3abb490..33b8957 100644 (file)
@@ -117,10 +117,10 @@ class Config():
 
         heading('Updating')
         button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT)
-        button.set_label("Time-Based Automatic Update\n"
-                         + "(requires use of FeedingIt widget)")
-        button.set_active(self.config["autoupdate"])
-        button.connect("toggled", self.button_toggled, "autoupdate")
+        button.set_label("Widget Based Automatic Update\n"
+                         + "(See FeedingIt widget for options)")
+        #button.set_active(self.config["autoupdate"])
+        #button.connect("toggled", self.button_toggled, "autoupdate")
         vbox.pack_start(button, expand=False)
         button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT)
         button.set_label("Woodchuck-Based Automatic Update")
@@ -144,9 +144,9 @@ class Config():
             button.connect("clicked", install_woodchuck_clicked)
             button.set_alignment(0,0,1,1)
             vbox.pack_start(button, expand=False)
-
-        add_setting('updateInterval')
-        add_setting('expiry')
+        else:
+            add_setting('updateInterval')
+            add_setting('expiry')
 
         heading('Network')
         button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT)