diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2017-03-04 19:34:21 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2017-03-04 19:34:21 +0100 |
commit | 6ea9e1d86cffb729775aa429310302b93cace2a0 (patch) | |
tree | 70db3957d2653bd1964d8cbf060b0b9510414be9 /mgaapplet | |
parent | c6bf85bfde585dc1226f9daaa3748939dd40d1b8 (diff) | |
download | mgaonline-6ea9e1d86cffb729775aa429310302b93cace2a0.tar mgaonline-6ea9e1d86cffb729775aa429310302b93cace2a0.tar.gz mgaonline-6ea9e1d86cffb729775aa429310302b93cace2a0.tar.bz2 mgaonline-6ea9e1d86cffb729775aa429310302b93cace2a0.tar.xz mgaonline-6ea9e1d86cffb729775aa429310302b93cace2a0.zip |
When --testing is passed to mgaapplet, always show the status icon
Diffstat (limited to 'mgaapplet')
-rwxr-xr-x | mgaapplet | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -690,9 +690,7 @@ sub setState { my @invisible_states = qw(delayed okay disconnected locked); # do not show icon while checking if previously hidden: - if (member($state, @invisible_states) - or $state eq 'busy' && member($previous_state, @invisible_states)) - { + if (!$::testing && (member($state, @invisible_states) or $state eq 'busy' && member($previous_state, @invisible_states))) { $is_plasma ? $icon->set_status('STATUS_NOTIFIER_STATUS_PASSIVE') : $icon->set_visible(0); } else { |