~ubuntu-branches/ubuntu/lucid/desktop-file-utils/lucid

« back to all changes in this revision

Viewing changes to misc/desktop-entry-mode.el

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2007-02-18 23:33:28 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20070218233328-rjmdgiikbaq5u2my
Tags: 0.12-0ubuntu1
* New upstream version:
  - improves category validation code to not catch false positives
  - make category validation code non-fatal
  - fix mem leaks and double frees
* debian/control:
  - use Desktop Team for Maintainer

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
;;; desktop-entry-mode.el --- freedesktop.org desktop entry editing
2
2
 
3
 
;; Copyright (C) 2003-2004, Ville Skytt�, <scop at xemacs.org>
 
3
;; Copyright (C) 2003-2004, 2006, Ville Skytt�, <scop at xemacs.org>
4
4
 
5
5
;; Author:   Ville Skytt�, <scop at xemacs.org>
6
6
;; Keywords: unix, desktop entry
19
19
 
20
20
;; You should have received a copy of the GNU General Public License
21
21
;; along with XEmacs; see the file COPYING.  If not, write to the Free
22
 
;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23
 
;; 02111-1307, USA.
 
22
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 
23
;; MA 02110-1301 USA.
24
24
 
25
25
;;; Commentary:
26
26
 
45
45
;; For more information about desktop entry files, see
46
46
;;   <http://www.freedesktop.org/Standards/desktop-entry-spec>
47
47
;;
48
 
;; This version is up to date with version 0.9.4 of the specification.
 
48
;; This version is up to date with version 0.9.8 of the specification.
49
49
 
50
50
;;; Code:
51
51
 
52
 
(defconst desktop-entry-mode-version "0.94 (spec 0.9.4)"
 
52
(defconst desktop-entry-mode-version "0.98 (spec 0.9.8)"
53
53
  "Version of `desktop-entry-mode'.")
54
54
 
55
55
(defgroup desktop-entry nil
97
97
      '(
98
98
        "Type"
99
99
        "Version"
100
 
        "Encoding"
101
100
        "Name"
102
101
        "GenericName"
103
102
        "NoDisplay"
104
103
        "Comment"
105
104
        "Icon"
106
105
        "Hidden"
107
 
        "FilePattern"
 
106
        "OnlyShowIn"
 
107
        "NotShowIn"
108
108
        "TryExec"
109
109
        "Exec"
110
110
        "Path"
111
111
        "Terminal"
112
 
        "SwallowTitle"
113
 
        "SwallowExec"
114
 
        "Actions"
115
112
        "MimeType"
116
 
        "SortOrder"
117
 
        "Dev"
118
 
        "FSType"
119
 
        "MountPoint"
120
 
        "ReadOnly"
121
 
        "UnmountIcon"
122
 
        "URL"
123
113
        "Categories"
124
 
        "OnlyShowIn"
125
 
        "NotShowIn"
126
114
        "StartupNotify"
127
115
        "StartupWMClass"
128
 
        ;; Reserved for use with KDE as of spec 0.9.4.
 
116
        "URL"
 
117
        ;; Reserved for use with KDE
129
118
        "ServiceTypes"
130
119
        "DocPath"
131
120
        "KeyWords"
132
121
        "InitialPreference"
 
122
        ;; Used by KDE for entries of the FSDevice type
 
123
        "Dev"
 
124
        "FSType"
 
125
        "MountPoint"
 
126
        "ReadOnly"
 
127
        "UnmountIcon"
 
128
        ;; Deprecated
 
129
        "Patterns"
 
130
        "DefaultApp"
 
131
        "Encoding"
 
132
        "MiniIcon"
 
133
        "TerminalOptions"
 
134
        "Protocols"
 
135
        "Extensions"
 
136
        "BinaryPattern"
 
137
        "MapNotify"
 
138
        "SwallowTitle"
 
139
        "SwallowExec"
 
140
        "SortOrder"
 
141
        "FilePattern"
133
142
        ) 'words)
134
143
     "\\|X-[A-Za-z0-9-]+\\)"))
135
144
  "Expression for matching desktop entry keys.")