summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/gui/login.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2013-10-01 17:34:24 -0400
committerKali Kaneko <kali@leap.se>2013-10-03 13:14:34 -0400
commit689c716b831047c8fe18945956e809b74e4250a3 (patch)
treec1f3b1f82abe2d29a6232f6b4bda1d4404a44555 /src/leap/bitmask/gui/login.py
parente9c84a3d2d9fd3a0457f256a908cb5bce9351682 (diff)
Disable EIP on/off button and action when login required.
Also adds an explicit should_autostart flag in config.
Diffstat (limited to 'src/leap/bitmask/gui/login.py')
-rw-r--r--src/leap/bitmask/gui/login.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/bitmask/gui/login.py b/src/leap/bitmask/gui/login.py
index c635081c..582f26be 100644
--- a/src/leap/bitmask/gui/login.py
+++ b/src/leap/bitmask/gui/login.py
@@ -14,7 +14,6 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
"""
Login widget implementation
"""
@@ -36,9 +35,9 @@ class LoginWidget(QtGui.QWidget):
Login widget that emits signals to display the wizard or to
perform login.
"""
-
# Emitted when the login button is clicked
login = QtCore.Signal()
+ logged_in_signal = QtCore.Signal()
cancel_login = QtCore.Signal()
logout = QtCore.Signal()
@@ -320,6 +319,7 @@ class LoginWidget(QtGui.QWidget):
self.ui.lblUser.setText("%s@%s" % (self.get_user(),
self.get_selected_provider()))
self.set_login_status("")
+ self.logged_in_signal.emit()
def logged_out(self):
"""