Dominique Leuenberger
2db480b597
OBS-URL: https://build.opensuse.org/request/show/720730 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=347
18 lines
813 B
Diff
18 lines
813 B
Diff
Index: gnome-settings-daemon-3.32.1/plugins/keyboard/gsd-keyboard-manager.c
|
|
===================================================================
|
|
--- gnome-settings-daemon-3.32.1.orig/plugins/keyboard/gsd-keyboard-manager.c
|
|
+++ gnome-settings-daemon-3.32.1/plugins/keyboard/gsd-keyboard-manager.c
|
|
@@ -524,7 +524,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);
|
|
}
|
|
|