forked from pool/gnome-settings-daemon
Dominique Leuenberger
14d140b9e1
Pushing GNOME 45.rc packages OBS-URL: https://build.opensuse.org/request/show/1109825 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=403
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);
|
|
}
|
|
|