From b405674d3d7d9c382cafa06c4e938f20b7ae18c5 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 4 Sep 2016 20:17:35 -0400 Subject: [PATCH] minor updates to .desktop files --- resources/powder.desktop | 5 ++--- src/client/Client.cpp | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/resources/powder.desktop b/resources/powder.desktop index 671f2a83c2..da582e1240 100644 --- a/resources/powder.desktop +++ b/resources/powder.desktop @@ -2,9 +2,8 @@ Version=1.0 Encoding=UTF-8 Name=Powder Toy -GenericName=Physics sandbox game -Comment=Simulates air pressure and velocity, heat, gravity interactions between different substances. +Comment=Physics sandbox game Exec=powder Icon=powder Type=Application -Categories=Game;Amusement; +Categories=Game;Simulation; diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 4ff9836120..3d202ad51e 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -384,7 +384,7 @@ bool Client::DoInstallation() "Comment=Physics sandbox game\n" "MimeType=x-scheme-handler/ptsave;\n" "NoDisplay=true\n" -"Categories=Game\n"; +"Categories=Game;Simulation\n"; std::stringstream protocolfiledata; protocolfiledata << protocolfiledata_tmp << "Exec=" << filename <<" ptsave %u\nPath=" << pathname << "\n"; f = fopen("powdertoy-tpt-ptsave.desktop", "wb"); @@ -401,7 +401,7 @@ bool Client::DoInstallation() "Comment=Physics sandbox game\n" "MimeType=application/vnd.powdertoy.save;\n" "NoDisplay=true\n" -"Categories=Game\n"; +"Categories=Game;Simulation\n"; std::stringstream desktopfiledata; desktopfiledata << desktopfiledata_tmp << "Exec=" << filename <<" open %f\nPath=" << pathname << "\n"; f = fopen("powdertoy-tpt.desktop", "wb");