diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-10-11 15:58:38 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-10-11 20:29:06 -0700 |
commit | 7df7518625b5a80aa1ff35c8c6e49e6e257672d9 (patch) | |
tree | 02d7b54df83f0d0e01cc6c7b87f61775e01260a5 /subsurface.desktop | |
parent | 089ab5e97c50de9e0f566bda9e881e0e3c7cb0bf (diff) | |
download | subsurface-7df7518625b5a80aa1ff35c8c6e49e6e257672d9.tar.gz |
Have "make install" act more as expected for a desktop application
I'm trying to get subsurface to get closer to becoming a "regular desktop
application"; so far this is based on the recommendations and guidelines
on OpenSUSE and Fedora.
The icon is now named subsurface.svg and make install installs it in the
correct location. At runtime subsurface first checks if an icon is
installed and if it is it uses that - otherwise it falls back to the old
code that tries to read the svg file from the current directory.
We also install a subsurface.desktop file
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.desktop')
-rw-r--r-- | subsurface.desktop | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/subsurface.desktop b/subsurface.desktop new file mode 100644 index 000000000..6fdec1053 --- /dev/null +++ b/subsurface.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=subsurface +GenericName=dive log program +Comment=manage and display dive computer data +Icon=subsurface +Exec=subsurface +Terminal=false +Categories=Accessories; + |