Merge branch 'master' of https://git.maemo.org/projects/feedingit
authorYves Marcoz <yves@marcoz.org>
Mon, 7 Jun 2010 03:12:13 +0000 (20:12 -0700)
committerYves Marcoz <yves@marcoz.org>
Mon, 7 Jun 2010 03:12:13 +0000 (20:12 -0700)
1  2 
src/FeedingIt.py
src/config.py

Simple merge
diff --cc src/config.py
@@@ -114,9 -138,15 +138,15 @@@ class Config()
          bus = dbus.SessionBus()
          proxy = bus.get_object("com.nokia.osso_browser", "/com/nokia/osso_browser/request")
          iface = dbus.Interface(proxy, 'com.nokia.osso_browser')
 -        iface.open_new_window("http://feedingit.marcoz.org/%s.html" % VERSION)
 +        iface.open_new_window("http://feedingit.marcoz.org/news/?page_id=%s" % VERSION)
  
      def onExit(self, *widget):
+         # When the dialog is closed without hitting
+         # the "Save" button, restore the configuration
+         if self.do_restore_backup:
+             print 'Restoring configuration'
+             self.config = self.config_backup
          self.saveConfig()
          self.window.destroy()