aboutsummaryrefslogtreecommitdiff
path: root/contrib/ayatana-indicator-keyboard-icon-generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ayatana-indicator-keyboard-icon-generator.py')
-rwxr-xr-xcontrib/ayatana-indicator-keyboard-icon-generator.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/contrib/ayatana-indicator-keyboard-icon-generator.py b/contrib/ayatana-indicator-keyboard-icon-generator.py
index 0316d7f4..586c8229 100755
--- a/contrib/ayatana-indicator-keyboard-icon-generator.py
+++ b/contrib/ayatana-indicator-keyboard-icon-generator.py
@@ -168,7 +168,9 @@ m_lLanguages = [
'Wo', #Wolof
'Ya', #Yakut
'Yo', #Yoruba
-'00' #Unknown
+'emoji', #Emoji
+'custom', #Custom
+'00' #Unknown
]
def printHelp():
@@ -253,6 +255,14 @@ if __name__ == '__main__':
sLanguage = '?'
+ elif sLanguage == 'emoji':
+
+ sLanguage = '😐'
+
+ elif sLanguage == 'custom':
+
+ sLanguage = '#'
+
pLayout.set_text(sLanguage, -1)
nLayoutWidth, nLayoutHeight = pLayout.get_size()
nBaseline = pLayout.get_baseline()