aboutsummaryrefslogtreecommitdiff
path: root/ayatana-settings
diff options
context:
space:
mode:
Diffstat (limited to 'ayatana-settings')
-rwxr-xr-xayatana-settings10
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()