Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: setup/main.py

Issue 1784007: Merge xkb related changes. (Closed) Base URL: ssh://git@chromiumos-git/ibus.git
Patch Set: Revert the default values of some configs. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« bus/ibusimpl.c ('K') | « ibus/interface/iibus.py ('k') | setup/setup.ui » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: setup/main.py
diff --git a/setup/main.py b/setup/main.py
index 8de4f42cb0280953ff9ee8f438af4ea88f3d8ae0..5066d073169324936aa52b333a82a8224ff979c8 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -107,25 +107,25 @@ class Setup(object):
# next engine
shortcuts = self.__config.get_value(
- "general/hotkey", "next_engine",
+ "general/hotkey", "next_engine_in_menu",
ibus.CONFIG_GENERAL_SHORTCUT_NEXT_ENGINE_DEFAULT)
button = self.__builder.get_object("button_next_engine")
entry = self.__builder.get_object("entry_next_engine")
entry.set_text("; ".join(shortcuts))
entry.set_tooltip_text("\n".join(shortcuts))
button.connect("clicked", self.__shortcut_button_clicked_cb,
- N_("next input method"), "general/hotkey", "next_engine", entry)
+ N_("next input method"), "general/hotkey", "next_engine_in_menu", entry)
# prev engine
shortcuts = self.__config.get_value(
- "general/hotkey", "prev_engine",
+ "general/hotkey", "previous_engine",
ibus.CONFIG_GENERAL_SHORTCUT_PREV_ENGINE_DEFAULT)
button = self.__builder.get_object("button_prev_engine")
entry = self.__builder.get_object("entry_prev_engine")
entry.set_text("; ".join(shortcuts))
entry.set_tooltip_text("\n".join(shortcuts))
button.connect("clicked", self.__shortcut_button_clicked_cb,
- N_("previous input method"), "general/hotkey", "prev_engine", entry)
+ N_("previous input method"), "general/hotkey", "previous_engine", entry)
# lookup table orientation
self.__combobox_lookup_table_orientation = self.__builder.get_object("combobox_lookup_table_orientation")
« bus/ibusimpl.c ('K') | « ibus/interface/iibus.py ('k') | setup/setup.ui » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698