Fix preferences when clicking Apply or Ok.
Add revision number to about dialog.
This commit is contained in:
parent
f16092400d
commit
2a637c0b12
|
@ -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"))
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue