Package: fbxkb
Version: 0.6-1
Followup-For: Bug #412254

I think that the problem was caused by the altwin:menu option, I have
used ctrl(nocaps), and it tried to load ct.png then, so here is the patch:

--- fbxkb.c.orig        2007-09-10 03:42:36.000000000 +0200
+++ fbxkb.c     2007-09-10 03:57:41.000000000 +0200
@@ -372,7 +372,7 @@
             *tmp = 0;
 
             DBG("map=%s no=%d\n", tok, no);
-            if (!strcmp(tok, "pc") || !strcmp(tok, "group"))
+            if (!strcmp(tok, "pc") || 2<strlen(tok))
                 continue;
           
             g_assert((no >= 0) && (no < ngroups));

With this patch we assure that other long names' first two letters won't
be handled as language codes.  However this heuristic is far from
correct, what if there are other tokens like pc, which are only two
letter long, but don't mean a language?

Anyway with the patch the situation is better then before, so please
apply and submit upstreamly.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=hu_HU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fbxkb depends on:
ii  libatk1.0-0                   1.18.0-2   The ATK accessibility toolkit
ii  libc6                         2.6.1-2    GNU C Library: Shared libraries
ii  libcairo2                     1.4.10-1   The Cairo 2D vector graphics libra
ii  libfontconfig1                2.4.2-1.2  generic font configuration library
ii  libglib2.0-0                  2.14.0-2   The GLib library of C routines
ii  libgtk2.0-0                   2.10.13-1  The GTK+ graphical user interface 
ii  libpango1.0-0                 1.18.1-1   Layout and rendering of internatio
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxcursor1                   1:1.1.9-1  X cursor management library
ii  libxext6                      1:1.0.3-2  X11 miscellaneous extension librar
ii  libxfixes3                    1:4.0.3-2  X11 miscellaneous 'fixes' extensio
ii  libxi6                        2:1.1.3-1  X11 Input extension library
ii  libxinerama1                  1:1.0.2-1  X11 Xinerama extension library
ii  libxmu6                       1:1.0.3-1  X11 miscellaneous utility library
ii  libxrandr2                    2:1.2.2-1  X11 RandR extension library
ii  libxrender1                   1:0.9.3-1  X Rendering Extension client libra

fbxkb recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to