From bb8229dede26dcf67d8dbb559f221cb90f696612 Mon Sep 17 00:00:00 2001 From: Yves Date: Thu, 22 Dec 2011 14:48:22 -0800 Subject: [PATCH] Disable app-based auto-update (application left running) --- src/FeedingIt.py | 2 +- src/config.py | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/FeedingIt.py b/src/FeedingIt.py index 29dc7fa..c6e661c 100644 --- a/src/FeedingIt.py +++ b/src/FeedingIt.py @@ -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) diff --git a/src/config.py b/src/config.py index 3abb490..33b8957 100644 --- a/src/config.py +++ b/src/config.py @@ -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) -- 1.7.9.5