libgnomekbd/libgnomekbd-set-default-indicator.patch
Dominique Leuenberger e97b4b06e3 Accepting request 897044 from home:qzhao:branches:GNOME:Factory
Add libgnomekbd-set-default-indicator.patch: set the common keyboard layout indicator as "default" to avoid misleading (bnc#1034390).

OBS-URL: https://build.opensuse.org/request/show/897044
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgnomekbd?expand=0&rev=85
2021-06-03 10:40:17 +00:00

13 lines
579 B
Diff

diff -Nura libgnomekbd-3.26.1/libgnomekbd/gkbd-keyboard-drawing.c libgnomekbd-3.26.1_new/libgnomekbd/gkbd-keyboard-drawing.c
--- libgnomekbd-3.26.1/libgnomekbd/gkbd-keyboard-drawing.c 2021-06-03 11:27:52.595837755 +0800
+++ libgnomekbd-3.26.1_new/libgnomekbd/gkbd-keyboard-drawing.c 2021-06-03 11:29:45.775631415 +0800
@@ -2748,7 +2748,7 @@
XklConfigRegistry * registry,
const gchar * full_layout)
{
- const gchar *layout_name = "?";
+ const gchar *layout_name = "default";
XklConfigItem *xki = xkl_config_item_new ();
gchar *layout = NULL, *variant = NULL;