1
0
mirror of https://github.com/GNOME/gedit synced 2024-07-05 03:15:06 +00:00
gedit/data/org.gnome.gedit.desktop.in
Jake Dane fc492f3793 Add handling for application/x-zerosize mimetype
As per https://gitlab.gnome.org/GNOME/glib/-/issues/2777 GLib will
soon return mimetype 'application/x-zerosize' for zero-size files
instead of 'text/plain'. These changes, I think, will let gedit handle
'application/x-zerosize' same as 'text/plain'. 

Fixes #528.
2022-11-02 19:59:08 +01:00

24 lines
618 B
Desktop File

[Desktop Entry]
Name=gedit
Comment=Edit text files
Exec=gedit %U
Terminal=false
Type=Application
StartupNotify=true
MimeType=text/plain;application/x-zerosize;
Icon=org.gnome.gedit
Categories=GNOME;GTK;Utility;TextEditor;
Actions=new-window;new-document;
# Translators: Do NOT translate or localize the semicolons. The list MUST also
# end with a semicolon. It contains search terms to find this application.
Keywords=Text;Editor;Plaintext;Write;gedit;
DBusActivatable=true
[Desktop Action new-window]
Name=New Window
Exec=gedit --new-window
[Desktop Action new-document]
Name=New Document
Exec=gedit --new-document