heading('Updating')
- button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT)
- 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")
- button.set_active(self.config["woodchuck"])
- button.connect("toggled", self.button_toggled, "woodchuck")
- vbox.pack_start(button, expand=False)
+ label = gtk.Label(gtk.HILDON_SIZE_FINGER_HEIGHT)
+ label.set_label("Use Woodchuck network daemon, or the home-screen widget for automatic updates.")
+ label.set_line_wrap(True)
+ vbox.pack_start(label, expand=False)
try:
import woodchuck
button.set_alignment(0,0,1,1)
vbox.pack_start(button, expand=False)
else:
+ button = hildon.CheckButton(gtk.HILDON_SIZE_FINGER_HEIGHT)
+ button.set_label("Woodchuck-Based Automatic Update")
+ button.set_active(self.config["woodchuck"])
+ button.connect("toggled", self.button_toggled, "woodchuck")
+ vbox.pack_start(button, expand=False)
add_setting('updateInterval')
add_setting('expiry')