[Bug 324722] branches/extragear/kde3/office/kile
tbraun
braun at physik.fu-berlin.de
Sat Feb 7 12:37:02 UTC 2009
SVN commit 922629 by tbraun:
backport r910854
create "~/.lyx" if it does not exist
CCMAIL: 324722 at bugs.launchpad.net
M +2 -1 ChangeLog
M +12 -0 kile/kilelyxserver.cpp
--- branches/extragear/kde3/office/kile/ChangeLog #922628:922629
@@ -1,7 +1,8 @@
version 2.0.3 -> 2.0.4svn
Fixes:
- - fix rare crash
+ - fix rare crash
+ - Create "~/.lyx" if it does not exist (Ubuntu bug #324722)
Syntax:
- bibtex: add new biblatex types, allow numbers in key names
--- branches/extragear/kde3/office/kile/kile/kilelyxserver.cpp #922628:922629
@@ -107,6 +107,18 @@
QFile *file;
struct stat buf;
struct stat *stats = &buf;
+
+
+ QDir lyxDir(QDir::homeDirPath() + QDir::separator() + ".lyx");
+ if(!lyxDir.exists()){
+ KILE_DEBUG() << "Directory " << lyxDir.absPath() << " does not exist" << endl;
+ if(mkdir(QFile::encodeName( lyxDir.path() ), m_perms | S_IXUSR) == -1){
+ kdError() << "Could not create directory" << endl;
+ }
+ else{
+ KILE_DEBUG() << "Directory created sucessfully" << endl;
+ }
+ }
for (uint i=0; i < m_pipes.count(); ++i)
{
--
Kile cannot create symliks to lyxpipe; in this way collaboration with jabref is not possible
https://bugs.launchpad.net/bugs/324722
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kile in ubuntu.
More information about the kubuntu-bugs
mailing list