Browse files

Disable German translation button

  • Loading branch information...
1 parent 36731e1 commit 96f90fc1135277326a7b1ce5ace6a5f1c2b00eb2 @sbourdeauducq sbourdeauducq committed Jul 12, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/sysettings.c
View
9 src/sysettings.c
@@ -181,15 +181,16 @@ void init_sysettings()
"l_language = new Label(-text \"Language:\")",
"b_lang_english = new Button(-text \"English\")",
"b_lang_french = new Button(-text \"French\")",
- "b_lang_german = new Button(-text \"German\")",
+ // Wolfgang's slowness is amazing at times ...
+ //"b_lang_german = new Button(-text \"German\")",
"l_layout = new Label(-text \"Keyboard layout:\")",
"b_kbd_us = new Button(-text \"US\")",
"b_kbd_french = new Button(-text \"French\")",
"b_kbd_german = new Button(-text \"German\")",
"g_localization.place(l_language, -column 1 -row 1)",
"g_localization.place(b_lang_english, -column 2 -row 1)",
"g_localization.place(b_lang_french, -column 3 -row 1)",
- "g_localization.place(b_lang_german, -column 4 -row 1)",
+ //"g_localization.place(b_lang_german, -column 4 -row 1)",
"g_localization.place(l_layout, -column 1 -row 2)",
"g_localization.place(b_kbd_us, -column 2 -row 2)",
"g_localization.place(b_kbd_french, -column 3 -row 2)",
@@ -306,7 +307,7 @@ void init_sysettings()
mtk_bind(appid, "b_lang_english", "press", language_callback, (void *)SC_LANGUAGE_ENGLISH);
mtk_bind(appid, "b_lang_french", "press", language_callback, (void *)SC_LANGUAGE_FRENCH);
- mtk_bind(appid, "b_lang_german", "press", language_callback, (void *)SC_LANGUAGE_GERMAN);
+ //mtk_bind(appid, "b_lang_german", "press", language_callback, (void *)SC_LANGUAGE_GERMAN);
mtk_bind(appid, "b_kbd_us", "press", layout_callback, (void *)SC_KEYBOARD_LAYOUT_US);
mtk_bind(appid, "b_kbd_french", "press", layout_callback, (void *)SC_KEYBOARD_LAYOUT_FRENCH);
@@ -357,7 +358,7 @@ static void update_language()
mtk_cmdf(appid, "b_lang_english.set(-state %s)", language == SC_LANGUAGE_ENGLISH ? "on" : "off");
mtk_cmdf(appid, "b_lang_french.set(-state %s)", language == SC_LANGUAGE_FRENCH ? "on" : "off");
- mtk_cmdf(appid, "b_lang_german.set(-state %s)", language == SC_LANGUAGE_GERMAN ? "on" : "off");
+ //mtk_cmdf(appid, "b_lang_german.set(-state %s)", language == SC_LANGUAGE_GERMAN ? "on" : "off");
}
static void update_layout()

0 comments on commit 96f90fc

Please sign in to comment.