From c6c67fd8d9c40fec61c9f7ee7677544301f437dd Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Fri, 11 Apr 2014 17:49:26 -0300 Subject: Hide bandwidth if the openvpn process is killed. [Closes #5497] --- changes/bug-5497_hide-bandwidth-on-openvpn-killed | 1 + src/leap/bitmask/gui/mainwindow.py | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changes/bug-5497_hide-bandwidth-on-openvpn-killed diff --git a/changes/bug-5497_hide-bandwidth-on-openvpn-killed b/changes/bug-5497_hide-bandwidth-on-openvpn-killed new file mode 100644 index 00000000..28484605 --- /dev/null +++ b/changes/bug-5497_hide-bandwidth-on-openvpn-killed @@ -0,0 +1 @@ +- Hide the bandwidth widget and update status icon if the openvpn process is killed. Closes #5497. diff --git a/src/leap/bitmask/gui/mainwindow.py b/src/leap/bitmask/gui/mainwindow.py index 9d0f9145..56ac1545 100644 --- a/src/leap/bitmask/gui/mainwindow.py +++ b/src/leap/bitmask/gui/mainwindow.py @@ -1783,6 +1783,8 @@ class MainWindow(QtGui.QMainWindow): elif exitCode != 0 or not self.user_stopped_eip: eip_status_label = self.tr("{0} finished in an unexpected manner!") eip_status_label = eip_status_label.format(self._eip_name) + self._eip_status.eip_stopped() + self._eip_status.set_eip_status_icon("error") self._eip_status.set_eip_status(eip_status_label, error=True) signal = qtsigs.connection_died_signal -- cgit v1.2.3