summaryrefslogtreecommitdiff
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
parent4e7f90811ce7bcb246555d8e83af94196fd4bfff (diff)
[feature] set windows title
-rw-r--r--docs/changelog.rst9
-rw-r--r--pkg/next-version2
-rw-r--r--src/leap/bitmask/gui/app.py8
3 files changed, 14 insertions, 5 deletions
diff --git a/docs/changelog.rst b/docs/changelog.rst
index 3c919b61..565469c0 100644
--- a/docs/changelog.rst
+++ b/docs/changelog.rst
@@ -1,11 +1,18 @@
Changelog
=====================
-0.10.2 - `master`_
+0.10.3 - `master`_
-------------------------------
.. note:: This version is not yet released and is under active development.
Features
+________
+- Set a windows title, so that Bitmask windows can be programmatically manipulated.
+
+0.10.2
+-------------------------------
+
+Features
~~~~~~~~
- `#9094 <https://0xacab.org/leap/bitmask-dev/issues/9094>`_: Implement a simple systray icon.
- Ship gpg1 binary with osx builds.
diff --git a/pkg/next-version b/pkg/next-version
index 5eef0f10..a3f5a8ed 100644
--- a/pkg/next-version
+++ b/pkg/next-version
@@ -1 +1 @@
-0.10.2
+0.10.3
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)