/[ascend]/trunk/pygtk/gtkbrowser.py
ViewVC logotype

Diff of /trunk/pygtk/gtkbrowser.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2520 by aakash, Mon Sep 12 11:53:14 2011 UTC revision 2521 by jpye, Tue Dec 6 07:17:23 2011 UTC
# Line 1507  class AutoUpdateDialog: Line 1507  class AutoUpdateDialog:
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
# Line 1519  class AutoUpdateDialog: Line 1519  class AutoUpdateDialog:
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        

Legend:
Removed from v.2520  
changed lines
  Added in v.2521

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22