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

Bug#383893: kxkb: multi-user problem with files in /tmp



The attached patch was accepted upstream. Please apply it, if etch will be 
shipped with the current kde version. 

Thanks,
Bernd
diff -ru kdebase-3.5.4/kxkb/extension.cpp kdebase-3.5.4.new/kxkb/extension.cpp
--- kdebase-3.5.4/kxkb/extension.cpp	2006-03-17 11:17:41.000000000 +0100
+++ kdebase-3.5.4.new/kxkb/extension.cpp	2006-08-26 14:46:07.000000000 +0200
@@ -40,8 +40,9 @@
 		d = qt_xdisplay();
 	m_dpy = d;
 	
-	QStringList dirs = KGlobal::dirs()->findDirs ( "tmp", "" );
-	m_tempDir = dirs.count() == 0 ? "/tmp/" : dirs[0];
+	// QStringList dirs = KGlobal::dirs()->findDirs ( "tmp", "" );
+	// m_tempDir = dirs.count() == 0 ? "/tmp/" : dirs[0];
+	m_tempDir = locateLocal("tmp", "");
 }
 
 bool XKBExtension::init()

Reply to: