Bug#319605: gnome-keyboard-applet: displays same indicator for different layouts

Loïc Minier lool at dooz.org
Sat Jul 23 18:04:50 UTC 2005


forwarded 319605 http://bugzilla.gnome.org/show_bug.cgi?id=311353
thanks

        Hi,

On Sat, Jul 23, 2005, Matijs van Zuijlen wrote:
> The Keyboard Indicator applet seems to use the shortDescription field in
> /etc/X11/xkb/rules/xfree86.xml as its indicator. This is a problem, since
> these short descriptions are not unique.

 Thanks for your report, I've forwarded it to the upstream developers
 with a patch to use the normal libxklavier description instead of the
 long description (attached).

 I suggest you subscribe to the upstream discussion at:
    http://bugzilla.gnome.org/show_bug.cgi?id=311353


   Regards,
-- 
Loïc Minier <lool at dooz.org>
Come, your destiny awaits!
-------------- next part --------------
diff -urNp gnome-applets-2.10.1/gswitchit/gswitchit-applet.c gnome-applets-2.10.1.new/gswitchit/gswitchit-applet.c
--- gnome-applets-2.10.1/gswitchit/gswitchit-applet.c	2005-03-16 13:51:35.000000000 +0100
+++ gnome-applets-2.10.1.new/gswitchit/gswitchit-applet.c	2005-07-23 19:44:38.672243000 +0200
@@ -326,7 +326,7 @@ GSwitchItAppletPrepareDrawing (GSwitchIt
 				    layoutName);
 
 			if (XklConfigFindLayout (&configItem)) {
-				char *sd = configItem.shortDescription;
+				char *sd = configItem.description;
 				if (sd != NULL && *sd != '\0') {
 					layoutName = allocLayoutName =
 					    g_locale_to_utf8 (sd, -1, NULL,


More information about the Pkg-gnome-maintainers mailing list