From 1a3d330f1dfffdd94f8091600bf477fef87dc233 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 3 Nov 2017 02:01:44 +0100 Subject: [feature] set windows title --- docs/changelog.rst | 9 ++++++++- pkg/next-version | 2 +- src/leap/bitmask/gui/app.py | 8 +++++--- 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,10 +1,17 @@ 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 `_: Implement a simple systray icon. 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) -- cgit v1.2.3