[caribou/geometry] Added parent key to subkeys panel.



commit 64c062ca2a61b6cf3f4f50b9e8f0e75b24b87495
Author: Eitan Isaacson <eitan monotonous org>
Date:   Sun Apr 24 12:17:08 2011 -0700

    Added parent key to subkeys panel.

 caribou/ui/keyboard.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/caribou/ui/keyboard.py b/caribou/ui/keyboard.py
index 9546935..9e7f21b 100644
--- a/caribou/ui/keyboard.py
+++ b/caribou/ui/keyboard.py
@@ -77,7 +77,7 @@ class BaseKey(object):
             setattr(self, k, v)
         if hasattr(self, "extended_names"):
             self.extended_keys = \
-                [self.__class__(name=n) for n in self.extended_names]
+                [self.__class__(name=n) for n in [self.name] + self.extended_names]
         else:
             self.extended_keys = []
 



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