Implemented the concept of 'profile'
[gregoa/zavai.git] / src / app_keyboard.vala
index 7d38b7887de5ac0fee82b2301dbdbc865f655cf5..c70b16f7f7ce814d450ecdb5b65243f648dad854 100644 (file)
@@ -153,9 +153,12 @@ KeyboardIcon icon;
 
 public void init()
 {
-    keyboard = new Keyboard();
-    icon = new KeyboardIcon();
-    icon.set_visible(true);
+    if (zavai.config.profile != "laptop")
+    {
+        keyboard = new Keyboard();
+        icon = new KeyboardIcon();
+        icon.set_visible(true);
+    }
 }
 
 }