[caribou: 8/22] Added parent key to subkeys panel.



commit 5068fbb574da4ab00cf42bddae93d00d8208e3fc
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]