diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-11-04 01:25:54 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-11-11 04:33:44 +0100 |
commit | dc4de2d6d9dc31c2df4063ee746453064d6fad15 (patch) | |
tree | 04c4e6ba09781860fdb4a3b5c750949012b1878e | |
parent | 7335e1ebea0f19c430074ce792fb6d6daa1dc314 (diff) | |
download | tdebindings-dc4de2d6d9dc31c2df4063ee746453064d6fad15.tar.gz tdebindings-dc4de2d6d9dc31c2df4063ee746453064d6fad15.zip |
Fix references to user profile directory.
(cherry picked from commit 1536be252f40b3eb9720d86ca1ff46336215ea5a)
-rw-r--r-- | kdejava/koala/org/kde/koala/KEditToolbarWidget.java | 2 | ||||
-rw-r--r-- | kdejava/koala/org/kde/koala/KStandardDirs.java | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java index e77d2753..1aed6457 100644 --- a/kdejava/koala/org/kde/koala/KEditToolbarWidget.java +++ b/kdejava/koala/org/kde/koala/KEditToolbarWidget.java @@ -144,7 +144,7 @@ public class KEditToolbarWidget extends QWidget implements KXMLGUIClientInterfac public native KActionCollection actionCollection(); /** Save any changes the user made. The file will be in the user's - local directory (usually $HOME/.kde/share/apps/\<appname\>). The + local directory (usually $HOME/.trinity/share/apps/\<appname\>). The filename will be the one specified in the constructor.. or the made up one if the filename was NULL. @return The status of whether or not the save succeeded. diff --git a/kdejava/koala/org/kde/koala/KStandardDirs.java b/kdejava/koala/org/kde/koala/KStandardDirs.java index e3cfe493..1657e29d 100644 --- a/kdejava/koala/org/kde/koala/KStandardDirs.java +++ b/kdejava/koala/org/kde/koala/KStandardDirs.java @@ -23,7 +23,7 @@ import java.util.ArrayList; The main idea behind KStandardDirs is that there are several toplevel prefixes below which the files lie. One of these prefixes is the one where the user installed kdelibs, one is where the - application was installed, and one is $HOME/.kde, but there + application was installed, and one is $HOME/.trinity, but there may be even more. Under these prefixes there are several well defined suffixes where specific resource types are to be found. For example, for the resource type "html" the suffixes could be @@ -33,7 +33,7 @@ import java.util.ArrayList; To make the thing even more complex, it's also possible to register absolute paths that KStandardDirs looks up after not finding anything in the former steps. They can be useful if the user wants to provide - specific directories that aren't in his $HOME/.kde directory for, + specific directories that aren't in his $HOME/.trinity directory for, for example, icons. <li><b>Standard resources that kdelibs allocates are:</b></li> @@ -153,13 +153,13 @@ import java.util.ArrayList; <li> KDEHOME: The directory where changes are saved to. This directory is used to search for resources first. If KDEHOME is not - specified it defaults to "$HOME/.kde" + specified it defaults to "$HOME/.trinity" </li> <li> KDEROOTHOME: Like KDEHOME, but used for the root user. If KDEROOTHOME is not set it defaults to the .kde directory in the - home directory of root, usually "/root/.kde". + home directory of root, usually "/root/.trinity". Note that the setting of $HOME is ignored in this case. </li> @author Stephan Kulow <coolo@kde.org> and Sirtaj Singh Kang <taj@kde.org> @@ -312,7 +312,7 @@ public class KStandardDirs implements QtSupport { </li> <li> - /home/joe/.kde/share/applnk/Settings/ + /home/joe/.trinity/share/applnk/Settings/ </li> Note that it appends / to the end of the directories, so you can use this right away as directory names. @@ -478,7 +478,7 @@ public class KStandardDirs implements QtSupport { public native String kfsstnd_xdg_data_prefixes(); /** Returns the toplevel directory in which KStandardDirs - will store things. Most likely $HOME/.kde + will store things. Most likely $HOME/.trinity Don't use this function if you can use locateLocal @return the toplevel directory |