18 lines
727 B
Diff
18 lines
727 B
Diff
Index: b/plugins/keyboard/gsd-keyboard-manager.c
|
|
===================================================================
|
|
--- a/plugins/keyboard/gsd-keyboard-manager.c
|
|
+++ b/plugins/keyboard/gsd-keyboard-manager.c
|
|
@@ -251,7 +251,11 @@ get_sources_from_xkb_config (GsdKeyboard
|
|
else
|
|
id = g_strdup (layouts[i]);
|
|
|
|
- g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_XKB, id);
|
|
+ if (!g_strcmp0 (id, "jp"))
|
|
+ g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_IBUS, "mozc-jp");
|
|
+ else
|
|
+ g_variant_builder_add (&builder, "(ss)", INPUT_SOURCE_TYPE_XKB, id);
|
|
+
|
|
g_free (id);
|
|
}
|
|
|