diff options
author | Miguel Jacq <mig@mig5.net> | 2018-02-11 17:52:14 +1100 |
---|---|---|
committer | Miguel Jacq <mig@mig5.net> | 2018-02-11 17:52:14 +1100 |
commit | b8cf692cd8d9555a6a0c9a25d867555f7fea02fa (patch) | |
tree | 307e3a7d5055c181e73812c4d5825fc2799aa537 /onionshare_gui | |
parent | 5e4a4f66131d3a1c16ad91d6ba2c6240be3f09ac (diff) | |
download | onionshare-b8cf692cd8d9555a6a0c9a25d867555f7fea02fa.tar.gz onionshare-b8cf692cd8d9555a6a0c9a25d867555f7fea02fa.zip |
actually show those messages in the system tray, not still in the statusbar, and with the mandatory titles
Diffstat (limited to 'onionshare_gui')
-rw-r--r-- | onionshare_gui/onionshare_gui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index 372bf719..8494c33f 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -549,7 +549,7 @@ class OnionShareGui(QtWidgets.QMainWindow): """ common.log('OnionShareGui', 'copy_url') if self.systemTray.supportsMessages() and self.settings.get('systray_notifications'): - self.status_bar.showMessage(strings._('gui_copied_url', True), 2000) + self.systemTray.showMessage(strings._('gui_copied_url_title', True), strings._('gui_copied_url', True)) def copy_hidservauth(self): """ @@ -557,7 +557,7 @@ class OnionShareGui(QtWidgets.QMainWindow): """ common.log('OnionShareGui', 'copy_hidservauth') if self.systemTray.supportsMessages() and self.settings.get('systray_notifications'): - self.status_bar.showMessage(strings._('gui_copied_hidservauth', True), 2000) + self.systemTray.showMessage(strings._('gui_copied_hidservauth_title', True), strings._('gui_copied_hidservauth', True)) def clear_message(self): """ |