Commit e3faf6fe authored by Dan Pascu's avatar Dan Pascu

Do not show the update menu entry at all when not available

parent 882e576e
...@@ -40,7 +40,7 @@ class Blink(QApplication): ...@@ -40,7 +40,7 @@ class Blink(QApplication):
self.update_manager = UpdateManager() self.update_manager = UpdateManager()
self.main_window.check_for_updates_action.triggered.connect(self.update_manager.check_for_updates) self.main_window.check_for_updates_action.triggered.connect(self.update_manager.check_for_updates)
self.main_window.check_for_updates_action.setEnabled(self.update_manager != Null) self.main_window.check_for_updates_action.setVisible(self.update_manager != Null)
Account.register_extension(AccountExtension) Account.register_extension(AccountExtension)
BonjourAccount.register_extension(BonjourAccountExtension) BonjourAccount.register_extension(BonjourAccountExtension)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment