From 6b94e521cbe546c89c65e4a6df983d6cdd925901 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Charles=20Cl=C3=A9ment?= Date: Tue, 16 Feb 2010 16:48:31 -0800 Subject: [PATCH] Add .desktop file, update icons install paths --- data/qquiz.desktop | 10 ++++++++++ src/src.pro | 11 ++++------- 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 data/qquiz.desktop diff --git a/data/qquiz.desktop b/data/qquiz.desktop new file mode 100644 index 0000000..bbc66fb --- /dev/null +++ b/data/qquiz.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=0.1 +Type=Application +Name=qquiz +Exec=/usr/bin/qquiz +Icon=qquiz +X-HildonDesk-ShowInToolbar=true +X-Osso-Type=application/x-executable + diff --git a/src/src.pro b/src/src.pro index 17bfeb5..c712a98 100644 --- a/src/src.pro +++ b/src/src.pro @@ -33,18 +33,15 @@ INSTALLS += target desktop iconxpm icon26 icon48 icon64 target.path =$$BINDIR desktop.path = $$DATADIR/applications/hildon - desktop.files += $${TARGET}.desktop - - iconxpm.path = $$DATADIR/pixmap - iconxpm.files += ../data/maemo/$${TARGET}.xpm + desktop.files += ../data/$${TARGET}.desktop icon26.path = $$DATADIR/icons/hicolor/26x26/apps - icon26.files += ../data/26x26/$${TARGET}.png + icon26.files += ../data/icons/26x26.png icon48.path = $$DATADIR/icons/hicolor/48x48/apps - icon48.files += ../data/48x48/$${TARGET}.png + icon48.files += ../data/icons/48x48.png icon64.path = $$DATADIR/icons/hicolor/64x64/apps - icon64.files += ../data/64x64/$${TARGET}.png + icon64.files += ../data/icons/64x64.png } -- 1.7.9.5