diff options
author | Ray Strode <rstrode@redhat.com> | 2006-11-07 16:13:38 +0000 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2006-11-07 16:13:38 +0000 |
commit | a594d4d44a10cec75bbc298303490e1bb51827b8 (patch) | |
tree | e4ea55756e0b1c96b87f61683c0ecc1c9c989d36 /misc | |
parent | d983e48807739779c09eb1bf2a336d891176839c (diff) | |
download | desktop-file-utils-a594d4d44a10cec75bbc298303490e1bb51827b8.tar.gz |
apply fixes from Ville Skyttä <ville.skytta@iki.fi> to match the latest
2006-11-07 Ray Strode <rstrode@redhat.com>
* misc/desktop-entry-mode.el: apply fixes
from Ville Skyttä <ville.skytta@iki.fi> to match the
latest version of the spec
Diffstat (limited to 'misc')
-rw-r--r-- | misc/desktop-entry-mode.el | 49 |
1 files changed, 29 insertions, 20 deletions
diff --git a/misc/desktop-entry-mode.el b/misc/desktop-entry-mode.el index d2cb343..affaa2e 100644 --- a/misc/desktop-entry-mode.el +++ b/misc/desktop-entry-mode.el @@ -1,6 +1,6 @@ ;;; desktop-entry-mode.el --- freedesktop.org desktop entry editing -;; Copyright (C) 2003-2004, Ville Skyttä, <scop at xemacs.org> +;; Copyright (C) 2003-2004, 2006, Ville Skyttä, <scop at xemacs.org> ;; Author: Ville Skyttä, <scop at xemacs.org> ;; Keywords: unix, desktop entry @@ -19,8 +19,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with XEmacs; see the file COPYING. If not, write to the Free -;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA -;; 02111-1307, USA. +;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +;; MA 02110-1301 USA. ;;; Commentary: @@ -45,11 +45,11 @@ ;; For more information about desktop entry files, see ;; <http://www.freedesktop.org/Standards/desktop-entry-spec> ;; -;; This version is up to date with version 0.9.4 of the specification. +;; This version is up to date with version 0.9.8 of the specification. ;;; Code: -(defconst desktop-entry-mode-version "0.94 (spec 0.9.4)" +(defconst desktop-entry-mode-version "0.98 (spec 0.9.8)" "Version of `desktop-entry-mode'.") (defgroup desktop-entry nil @@ -97,39 +97,48 @@ '( "Type" "Version" - "Encoding" "Name" "GenericName" "NoDisplay" "Comment" "Icon" "Hidden" - "FilePattern" + "OnlyShowIn" + "NotShowIn" "TryExec" "Exec" "Path" "Terminal" - "SwallowTitle" - "SwallowExec" - "Actions" "MimeType" - "SortOrder" - "Dev" - "FSType" - "MountPoint" - "ReadOnly" - "UnmountIcon" - "URL" "Categories" - "OnlyShowIn" - "NotShowIn" "StartupNotify" "StartupWMClass" - ;; Reserved for use with KDE as of spec 0.9.4. + "URL" + ;; Reserved for use with KDE "ServiceTypes" "DocPath" "KeyWords" "InitialPreference" + ;; Used by KDE for entries of the FSDevice type + "Dev" + "FSType" + "MountPoint" + "ReadOnly" + "UnmountIcon" + ;; Deprecated + "Patterns" + "DefaultApp" + "Encoding" + "MiniIcon" + "TerminalOptions" + "Protocols" + "Extensions" + "BinaryPattern" + "MapNotify" + "SwallowTitle" + "SwallowExec" + "SortOrder" + "FilePattern" ) 'words) "\\|X-[A-Za-z0-9-]+\\)")) "Expression for matching desktop entry keys.") |