[caribou] Make the test method of keyboard.py work again



commit 59ca6353c88899d1710ed3834e3561734985055d
Author: Ben Konrath <ben bagu org>
Date:   Thu Dec 3 18:53:22 2009 -0500

    Make the test method of keyboard.py work again

 src/caribou/keyboard.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/caribou/keyboard.py b/src/caribou/keyboard.py
index eb25335..9a92365 100644
--- a/src/caribou/keyboard.py
+++ b/src/caribou/keyboard.py
@@ -21,7 +21,7 @@
 
 import gtk
 import virtkey
-import window
+from keyboards import qwerty
 
 class CaribouPredicitionArea(gtk.HBox):
     pass
@@ -130,7 +130,8 @@ class CaribouKeyboard(gtk.Frame):
 
 
 if __name__ == "__main__":
-    window = window.CaribouWindow()
+    ckbd = CaribouKeyboard(qwerty)
+    window = gtk.Window(gtk.WINDOW_POPUP)
+    window.add(ckbd)
     window.show_all()
     gtk.main()
-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]