keyboardlayouteditor

[Fork] Archive of the keyboard layout editor.
git clone https://git.jojolepro.com/keyboardlayouteditor.git
Log | Files | Refs | README | LICENSE

commit a2a331e91216092c3d501853aa87315d4c23e52a
parent dcf98e6e855ea13702b5ba9c2355e5a711be00cb
Author: simos.lists <simos.lists@70737e48-4f4a-0410-8df8-290828ad50c4>
Date:   Tue, 30 Sep 2008 15:55:42 +0000

Small beautification of tooltips.

git-svn-id: http://keyboardlayouteditor.googlecode.com/svn/trunk@66 70737e48-4f4a-0410-8df8-290828ad50c4

Diffstat:
MKeyboardLayoutEditor/src/Key.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/KeyboardLayoutEditor/src/Key.py b/KeyboardLayoutEditor/src/Key.py @@ -171,14 +171,14 @@ class Key(gtk.EventBox): return Common.keysegments.NONE def set_tooltip(self): - tooltip_string = "Keycode: " + self.keycode + tooltip_string = 'Keycode: ' + self.keycode counter_empty = 0 for counter in Common.keysegmentslist: if self.key.dvalues[counter].getType() == Common.keyvaluetype.NOSYMBOL: counter_empty +=1 if counter_empty < len(Common.keysegmentslist): for counter in Common.keysegmentslist: - tooltip_string += "\n" + str(counter) + ". " +\ - self.key.dvalues[counter].getValue() + " " +\ + tooltip_string += '\n' + str(counter) + '. ' +\ + str(self.key.dvalues[counter].getValue()) + ' ' +\ self.key.dvalues[counter].getPValue() self.tooltips.set_tip(self, tooltip_string)