[Konsole-devel] [Bug 77018] konsole session does not honor keytab in .kde

Kurt V.Hindenburg khindenburg at cherrynebula.net
Mon Jun 7 16:34:01 UTC 2004


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
http://bugs.kde.org/show_bug.cgi?id=77018      
khindenburg cherrynebula net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From khindenburg cherrynebula net  2004-06-07 18:33 -------
Applied.

Index: konsole.cpp
===================================================================
RCS file: /home/kde/kdebase/konsole/konsole/konsole.cpp,v
retrieving revision 1.463
diff -u -p -r1.463 konsole.cpp
--- konsole.cpp 5 Jun 2004 19:17:27 -0000       1.463
+++ konsole.cpp 7 Jun 2004 16:23:50 -0000
 @ -2701,8 +2701,13  @ QString Konsole::newSession(KSimpleConfi
   s->setSchemaNo(schmno);
   if (key.isEmpty())
     s->setKeymapNo(n_defaultKeytab);
-  else
+  else {
+    // TODO: Fixes BR77018, see BR83000.
+    if (key.endsWith(".keytab"))
+      key.remove(".keytab");
     s->setKeymap(key);
+  }
+
   s->setTitle(txt);
   s->setIconName(icon);
   s->setAddToUtmp(b_addToUtmp);



More information about the konsole-devel mailing list