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

Kurt V.Hindenburg khindenburg at cherrynebula.net
Sun Jun 6 00:46:54 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      




------- Additional Comments From khindenburg cherrynebula net  2004-06-06 02:46 -------
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   6 Jun 2004 00:45:47 -0000
 @ -2701,8 +2701,12  @ QString Konsole::newSession(KSimpleConfi
   s->setSchemaNo(schmno);
   if (key.isEmpty())
     s->setKeymapNo(n_defaultKeytab);
-  else
+  else {
+    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