[caribou] Make the test method of keyboard.py work again
- From: Benjamin Konrath <bkonrath src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [caribou] Make the test method of keyboard.py work again
- Date: Thu, 3 Dec 2009 23:56:15 +0000 (UTC)
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]