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

Unified Diff: bus/ibusimpl.c

Issue 2008016: Change default values of some config. (Closed) Base URL: ssh://git@chromiumos-git/ibus.git
Patch Set: Created 10 years, 7 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
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bus/ibusimpl.c
diff --git a/bus/ibusimpl.c b/bus/ibusimpl.c
index 01ec61c6fd88eb3ec535c85272a848a1b8a624f2..a531ca9f102b9263b44cdb2d6ed599acd79c4ef6 100644
--- a/bus/ibusimpl.c
+++ b/bus/ibusimpl.c
@@ -187,12 +187,15 @@ bus_ibus_impl_set_trigger (BusIBusImpl *ibus,
{
GQuark hotkey = g_quark_from_static_string ("trigger");
bus_ibus_impl_set_hotkey (ibus, hotkey, value);
+#if 0
+ /* Chromium-OS: We don't use trigger key. */
if (value == NULL) {
ibus_hotkey_profile_add_hotkey (ibus->hotkey_profile,
IBUS_space,
IBUS_CONTROL_MASK,
hotkey);
}
+#endif
}
static void
@@ -607,10 +610,10 @@ bus_ibus_impl_init (BusIBusImpl *ibus)
ibus->hotkey_profile = ibus_hotkey_profile_new ();
ibus->keymap = ibus_keymap_get ("us");
- ibus->use_sys_layout = FALSE;
+ ibus->use_sys_layout = TRUE;
ibus->embed_preedit_text = TRUE;
- ibus->enable_by_default = FALSE;
- ibus->use_global_engine = FALSE;
+ ibus->enable_by_default = TRUE;
+ ibus->use_global_engine = TRUE;
ibus->global_engine = NULL;
ibus->global_previous_engine_name = NULL;
« no previous file with comments | « README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698