Skip to content
New issue

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

Update XDG files #137

Merged
merged 2 commits into from
Nov 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Pinta.Install.proj
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@
<MakeDir Directories="$(BinDir)" />
<Copy SourceFiles="$(OutputPath)/locale/%(Translation.Code)/LC_MESSAGES/pinta.mo" DestinationFolder="$(LocaleDir)/%(Translation.Code)/LC_MESSAGES" />
<Copy SourceFiles="xdg/pinta.1" DestinationFolder="$(ManDir)/man1" />
<Copy SourceFiles="xdg/pinta.appdata.xml" DestinationFolder="$(DataRootDir)/metainfo" />
<Copy SourceFiles="xdg/pinta.desktop" DestinationFolder="$(DataRootDir)/applications" />
<Copy SourceFiles="xdg/pinta.xpm" DestinationFolder="$(DataRootDir)/pixmaps" />
<Copy SourceFiles="xdg/16x16/pinta.png" DestinationFolder="$(DataRootDir)/icons/hicolor/16x16/apps" />
Expand All @@ -252,6 +253,7 @@
<Delete Files="$(LocaleDir)/%(Translation.Code)/LC_MESSAGES/pinta.mo" />
<Delete Files="$(ManDir)/man1/pinta.1" />
<Delete Files="$(ManDir)/man1/pinta.1.gz" />
<Delete Files="$(DataRootDir)/metainfo/pinta.appdata.xml" />
<Delete Files="$(DataRootDir)/applications/pinta.desktop" />
<Delete Files="$(DataRootDir)/pixmaps/pinta.xpm" />
<Delete Files="$(DataRootDir)/icons/hicolor/16x16/apps/pinta.png" />
Expand Down
16 changes: 0 additions & 16 deletions xdg/pinta.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,9 @@
</_p>
</description>
<launchable type="desktop-id">pinta.desktop</launchable>
<categories>
<category>Graphics</category>
<category>2DGraphics</category>
<category>RasterGraphics</category>
<category>GTK</category>
</categories>
<keywords>
<keyword>draw</keyword>
<keyword>drawing</keyword>
<keyword>paint</keyword>
<keyword>painting</keyword>
<keyword>graphics</keyword>
<keyword>raster</keyword>
<keyword>2d</keyword>
</keywords>
<kudos>
<kudo>HiDpiIcon</kudo>
<kudo>HighContrast</kudo>
<kudo>UserDocs</kudo>
</kudos>
<screenshots>
<screenshot type="default">
Expand Down
4 changes: 4 additions & 0 deletions xdg/pinta.desktop.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[Desktop Entry]
Version=1.0
_Name=Pinta
_Comment=Easily create and edit images
_GenericName=Image Editor
_X-GNOME-FullName=Pinta Image Editor
TryExec=pinta
Exec=pinta %F
Icon=pinta
StartupNotify=false
StartupWMClass=Pinta
Terminal=false
Type=Application
Categories=Graphics;2DGraphics;RasterGraphics;GTK;
_Keywords=draw;drawing;paint;painting;graphics;raster;2d;
MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/svg+xml;image/tiff;image/x-bmp;image/x-gray;image/x-icb;image/x-ico;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-xbitmap;image/x-xpixmap;image/x-pcx;image/x-targa;image/x-tga;image/openraster;