Fix preferences when clicking Apply or Ok.

Add revision number to about dialog.
This commit is contained in:
Andrew Resch 2008-01-21 06:03:38 +00:00
parent f16092400d
commit 2a637c0b12
2 changed files with 1 additions and 4 deletions

View File

@ -50,7 +50,7 @@ class AboutDialog:
"aboutdialog")
self.about.set_position(gtk.WIN_POS_CENTER)
self.about.set_name("Deluge")
self.about.set_version(deluge.common.get_version())
self.about.set_version(deluge.common.get_version() + "r" + deluge.common.get_revision())
self.about.set_authors(["Andrew Resch", "Marcos Pinto"])
self.about.set_artists(["Andrew Wedderburn", "Andrew Resch"])
self.about.set_translator_credits(_("translator-credits"))

View File

@ -459,9 +459,6 @@ class Preferences(component.Component):
# Re-show the dialog to make sure everything has been updated
self.show()
# Update the UI
self.window.update()
def hide(self):
self.pref_dialog.hide()