summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/app.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-11-03 02:01:44 +0100
committerKali Kaneko <kali@leap.se>2017-11-03 02:01:44 +0100
commit1a3d330f1dfffdd94f8091600bf477fef87dc233 (patch)
tree6e7c82f454ceef408494509dcbd47ee89c899dbe /src/leap/bitmask/gui/app.py
parent4e7f90811ce7bcb246555d8e83af94196fd4bfff (diff)
[feature] set windows title
Diffstat (limited to 'src/leap/bitmask/gui/app.py')
-rw-r--r--src/leap/bitmask/gui/app.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/leap/bitmask/gui/app.py b/src/leap/bitmask/gui/app.py
index 85ca3d2f..ac472e0a 100644
--- a/src/leap/bitmask/gui/app.py
+++ b/src/leap/bitmask/gui/app.py
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
# app.py
-# Copyright (C) 2016 LEAP Encryption Acess Project
+# Copyright (C) 2016-2017 LEAP Encryption Acess Project
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -151,10 +151,11 @@ class WithTrayIcon(QDialog):
def closeEvent(self, event):
if self.trayIcon.isVisible() and not self.user_closed:
QMessageBox.information(
- self, "Systray",
+ self, "Bitmask",
"Bitmask will minimize to the system tray. "
"You can choose 'Quit' from the menu with a "
- "right click on the icon.")
+ "right click on the icon, and restore the window "
+ "with a double click.")
self.hide()
if not self.user_closed:
event.ignore()
@@ -196,6 +197,7 @@ class BrowserWindow(QWebView, WithTrayIcon):
self.closing = False
super(QWebView, self).__init__(*args, **kw)
+ self.setWindowTitle('Bitmask')
self.bitmask_browser = NewPageConnector(self) if first else None
self.loadPage(self.url)