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()