Commit 852db3c9 authored by Dan Pascu's avatar Dan Pascu

Allow application shortcuts to work even when the main window is hidden

parent fc475d97
...@@ -111,6 +111,17 @@ class Blink(QApplication): ...@@ -111,6 +111,17 @@ class Blink(QApplication):
self.main_window = MainWindow() self.main_window = MainWindow()
self.chat_window = ChatWindow() self.chat_window = ChatWindow()
self.main_window.addAction(self.chat_window.control_button.actions.main_window)
self.chat_window.addAction(self.main_window.quit_action)
self.chat_window.addAction(self.main_window.help_action)
self.chat_window.addAction(self.main_window.redial_action)
self.chat_window.addAction(self.main_window.join_conference_action)
self.chat_window.addAction(self.main_window.mute_action)
self.chat_window.addAction(self.main_window.silent_action)
self.chat_window.addAction(self.main_window.preferences_action)
self.chat_window.addAction(self.main_window.transfers_window_action)
self.chat_window.addAction(self.main_window.logs_window_action)
self.ip_address_monitor = IPAddressMonitor() self.ip_address_monitor = IPAddressMonitor()
self.log_manager = LogManager() self.log_manager = LogManager()
self.presence_manager = PresenceManager() self.presence_manager = PresenceManager()
......
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