8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I venture to help as many as I like this applet. Thanks, great work. The language problem with the special folders can be fixed very easily.
use: folderString = GLib.get_user_special_dir (folderKey); where folderKey can be: folderKey = GLib.UserDirectory.DIRECTORY_DOCUMENTS folderKey = GLib.UserDirectory.DIRECTORY_DESKTOP folderKey = Documents "GLib.UserDirectory.DIRECTORY_DOCUMENTS folderKey = Download ": GLib.UserDirectory.DIRECTORY_DOWNLOAD folderKey = Music ": GLib.UserDirectory.DIRECTORY_MUSIC folderKey = Pictures ": GLib.UserDirectory.DIRECTORY_PICTURES folderKey = Public ": GLib.UserDirectory.DIRECTORY_PUBLIC_SHARE folderKey = Templates ": GLib.UserDirectory.DIRECTORY_TEMPLATES folderKey = Videos ": GLib.UserDirectory.DIRECTORY_VIDEOS to determine the name of the folder using: getName: function (folderKey) { let strDir = folderURL.split ("/"); return strDir [strDir.length - 1]; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I venture to help as many as I like this applet. Thanks, great work. The language problem with the special folders can be fixed very easily.
use:
folderString = GLib.get_user_special_dir (folderKey);
where folderKey can be:
folderKey = GLib.UserDirectory.DIRECTORY_DOCUMENTS
folderKey = GLib.UserDirectory.DIRECTORY_DESKTOP
folderKey = Documents "GLib.UserDirectory.DIRECTORY_DOCUMENTS
folderKey = Download ": GLib.UserDirectory.DIRECTORY_DOWNLOAD
folderKey = Music ": GLib.UserDirectory.DIRECTORY_MUSIC
folderKey = Pictures ": GLib.UserDirectory.DIRECTORY_PICTURES
folderKey = Public ": GLib.UserDirectory.DIRECTORY_PUBLIC_SHARE
folderKey = Templates ": GLib.UserDirectory.DIRECTORY_TEMPLATES
folderKey = Videos ": GLib.UserDirectory.DIRECTORY_VIDEOS
to determine the name of the folder using:
getName: function (folderKey) {
let strDir = folderURL.split ("/");
return strDir [strDir.length - 1];
}
The text was updated successfully, but these errors were encountered: