diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-28 16:44:57 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-01-28 16:44:57 +0100 |
commit | ddd352904ce7b56e0c2fa9ca7559f3919d59a4fb (patch) | |
tree | e6f226e9e25e06deb27537dab68649238332cde9 /ayatana-settings | |
parent | 260678337395b2edd7d0be6091da9fa94fae2279 (diff) | |
parent | 06b72f50ce15a5e5bcf4f2c7653e092351ea96c0 (diff) | |
download | ayatana-settings-ddd352904ce7b56e0c2fa9ca7559f3919d59a4fb.tar.gz ayatana-settings-ddd352904ce7b56e0c2fa9ca7559f3919d59a4fb.tar.bz2 ayatana-settings-ddd352904ce7b56e0c2fa9ca7559f3919d59a4fb.zip |
Merge branch 'tari01-pr/add-keyboard'
Attributes GH PR #7: https://github.com/AyatanaIndicators/ayatana-settings/pull/7
Diffstat (limited to 'ayatana-settings')
-rwxr-xr-x | ayatana-settings | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ayatana-settings b/ayatana-settings index dde807e..a8ea538 100755 --- a/ayatana-settings +++ b/ayatana-settings @@ -157,6 +157,16 @@ class AyatanaSettings: self.pLabelNotifications.set_sensitive(False) + # Keyboard + if pathlib.Path('/etc/xdg/autostart/ayatana-indicator-keyboard.desktop').exists(): + + bEnabled = self.isEnabled('keyboard') + self.pCheckButtonKeyboardEnable.set_active(bEnabled) + + else: + + self.pLabelKeyboard.set_sensitive(False) + self.bInit = True Gtk.main() |