1507 |
def on_autoupdate_toggled(self, widget): |
def on_autoupdate_toggled(self, widget): |
1508 |
_p = self.browser.prefs |
_p = self.browser.prefs |
1509 |
_p.setBoolPref("Browser", "disable_auto_check_for_updates", widget.get_active()) |
_p.setBoolPref("Browser", "disable_auto_check_for_updates", widget.get_active()) |
1510 |
self.browser.check_weekly.set_active(not(widget.get_active)) |
self.browser.check_weekly.set_active(not(widget.get_active())) |
1511 |
|
|
1512 |
def run(self): |
def run(self): |
1513 |
_continue = True |
_continue = True |
1519 |
elif _res == gtk.RESPONSE_NO or _res == gtk.RESPONSE_DELETE_EVENT or _res == gtk.RESPONSE_CLOSE: |
elif _res == gtk.RESPONSE_NO or _res == gtk.RESPONSE_DELETE_EVENT or _res == gtk.RESPONSE_CLOSE: |
1520 |
self.win.destroy() |
self.win.destroy() |
1521 |
return False |
return False |
|
|
|
1522 |
|
|