projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7f2133b
)
Disable app-based auto-update (application left running)
author
Yves
<yves@marcoz.org>
Thu, 22 Dec 2011 22:48:22 +0000
(14:48 -0800)
committer
Yves
<yves@marcoz.org>
Thu, 22 Dec 2011 22:48:22 +0000
(14:48 -0800)
src/FeedingIt.py
patch
|
blob
|
history
src/config.py
patch
|
blob
|
history
diff --git
a/src/FeedingIt.py
b/src/FeedingIt.py
index
29dc7fa
..
c6e661c
100644
(file)
--- a/
src/FeedingIt.py
+++ b/
src/FeedingIt.py
@@
-1259,7
+1259,7
@@
class FeedingIt:
# Check whether auto-update is enabled.
self.autoupdate = False
# 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)
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
(file)
--- a/
src/config.py
+++ b/
src/config.py
@@
-117,10
+117,10
@@
class Config():
heading('Updating')
button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT)
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")
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)
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)
heading('Network')
button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT)