RHGB bug when using fr_CH keyboard.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

Here in swiss we are using fr_CH keyboards. Each time we are installing a
FC4, firstboot runs in FR keyboard layout. So it's difficult to add user at
firstboot. 

Here is a little patch to allow rhgb to run in fr_CH keyboard layout when
/etc/sysconfig/keyboard KEYTABLE key is set to fr_CH or fr_CH-latin1. 

Why is the "check_for_language" function in main.c splitting by the key "_"?

Best regards,

Michel MENGIS__________________________
POSEIDON Project Manager
EPFL - DIT - DIT-SB
Ecole Polytechnique Fédérale de Lausanne - EPFL
Tel: (+41) 021 693 2266




diff -ruN --exclude=.svn --exclude=CVS rhgb-0.16.2.org/ChangeLog rhgb-0.16.2/ChangeLog
--- rhgb-0.16.2.org/ChangeLog	2005-01-31 21:47:43.000000000 +0100
+++ rhgb-0.16.2/ChangeLog	2005-11-29 13:32:46.000000000 +0100
@@ -1,3 +1,6 @@
+* Tue Nov 29 2005 Michel Mengis <poseidon AT epfl.ch> 0.16.2-4
+- fix to bring rhgb to choose fr_CH keytable instead of fr when using swiss french keyboard during fc installation
+
 Mon Jan 31 2005 Bill Nottingham <notting@xxxxxxxxxx>
 
 	* fix resetting of init's console on exit (#141953, others)
diff -ruN --exclude=.svn --exclude=CVS rhgb-0.16.2.org/src/main.c rhgb-0.16.2/src/main.c
--- rhgb-0.16.2.org/src/main.c	2005-01-31 21:44:34.000000000 +0100
+++ rhgb-0.16.2/src/main.c	2005-11-29 13:05:30.000000000 +0100
@@ -376,7 +376,7 @@
   if (!contents)
     return(NULL);
 
-  words = g_strsplit_set(contents,"\n\r \t='\"_-",0);
+  words = g_strsplit_set(contents,"\n\r \t='\"-",0);
   for (x = 0; words[x] ; x++)
     {
        if (!strcmp(words[x],"KEYTABLE"))
-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux