Adding "Documents Folder" to: "system:/

Thiago Macieira thiago at kde.org
Fri Jul 8 00:46:09 BST 2005


James Richard Tyrer wrote:
>I think that there is general agreement that if the "Documents path" is
>not set to $HOME (which is the default) that a link: "Documents Folder"
>should be added to "system:/".

I agree.

>So, how do we do this?
>
>It appears that what is needed is to have a function that checks to see
>if "Documents" is set to $HOME for the current user and if not: Copies a
>prototype "documents.desktop" file to:
>
>	$HOME/.kde/share/apps/systemview
>
>and then uses 'sed' to set the URL correctly.  If "Documents" is set to
>$HOME, then the file should be deleted if it exists.
>
>This function needs to be called whenever something sets "Documents" in
>'kdeglobals".

I don't like this solution. It would be much simpler if it could be 
provided in code.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

2. Tó cennan his weorc gearu, ymbe se circolwyrde, wearð se cægbord and se 
leohtspeccabord, and þa mýs cómon lator. On þone dæg, he hine reste.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050707/38f783e6/attachment.sig>


More information about the kde-core-devel mailing list