Add support for indexing symlinks as such. Use inode/directory instead of application/x-fsdirectory as directory mime type. Fix stat/lstat usage in places (wipedir)
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
@@ -1019,7 +1019,7 @@ void ResList::menuPreviewParent()
|
||||
// No parent doc: show enclosing folder with app configured for
|
||||
// directories
|
||||
pdoc.url = path_getfather(doc.url);
|
||||
pdoc.mimetype = "application/x-fsdirectory";
|
||||
pdoc.mimetype = "inode/directory";
|
||||
emit editRequested(pdoc);
|
||||
}
|
||||
}
|
||||
@@ -1038,7 +1038,7 @@ void ResList::menuOpenParent()
|
||||
pdoc.url = path_getfather(doc.url);
|
||||
pdoc.meta[Rcl::Doc::keychildurl] = doc.url;
|
||||
pdoc.meta[Rcl::Doc::keyapptg] = "parentopen";
|
||||
pdoc.mimetype = "application/x-fsdirectory";
|
||||
pdoc.mimetype = "inode/directory";
|
||||
emit editRequested(pdoc);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -793,7 +793,7 @@ void ResTable::menuPreviewParent()
|
||||
pdoc.url = path_getfather(doc.url);
|
||||
pdoc.meta[Rcl::Doc::keychildurl] = doc.url;
|
||||
pdoc.meta[Rcl::Doc::keyapptg] = "parentopen";
|
||||
pdoc.mimetype = "application/x-fsdirectory";
|
||||
pdoc.mimetype = "inode/directory";
|
||||
emit editRequested(pdoc);
|
||||
}
|
||||
}
|
||||
@@ -815,7 +815,7 @@ void ResTable::menuOpenParent()
|
||||
pdoc.url = path_getfather(doc.url);
|
||||
pdoc.meta[Rcl::Doc::keychildurl] = doc.url;
|
||||
pdoc.meta[Rcl::Doc::keyapptg] = "parentopen";
|
||||
pdoc.mimetype = "application/x-fsdirectory";
|
||||
pdoc.mimetype = "inode/directory";
|
||||
emit editRequested(pdoc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user