summaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-07-09 19:56:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-07-09 19:56:30 -0400
commitffb8a2d9d6140fb50d9d3553be923b0b8f5cffed (patch)
treeace4e7fa5a5d5f6cb225b6246d87a565b10a58af /Assistant
parenta16a6979515886f2496c5204b886dc76748a3c82 (diff)
Install XDG desktop icon files.
The icon files will be installed when running make install or cabal install. Did not try to run update-icon-caches, since I think it's debian specific, and dh_icons will take care of that for the Debian package. Using the favicon as a 16x16 icon. At 24x24 the svg displays pretty well, although the dotted lines are rather faint. The svg is ok at all higher resolutions. The standalone linux build auto-installs the desktop and autostart files when run. I have not made it auto-install the icon file too, because a) that would take more work to include them in the tarball and find them b) it would need to be an install to ~/.icons/, and I don't know if that really works!
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Install/AutoStart.hs1
-rw-r--r--Assistant/Install/Menu.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/Assistant/Install/AutoStart.hs b/Assistant/Install/AutoStart.hs
index 13b4bc7ab..b03d20224 100644
--- a/Assistant/Install/AutoStart.hs
+++ b/Assistant/Install/AutoStart.hs
@@ -35,4 +35,5 @@ fdoAutostart command = genDesktopEntry
"Autostart"
False
(command ++ " assistant --autostart")
+ Nothing
[]
diff --git a/Assistant/Install/Menu.hs b/Assistant/Install/Menu.hs
index cb9b76ba6..940a2b32c 100644
--- a/Assistant/Install/Menu.hs
+++ b/Assistant/Install/Menu.hs
@@ -27,4 +27,5 @@ fdoDesktopMenu command = genDesktopEntry
"Track and sync the files in your Git Annex"
False
(command ++ " webapp")
+ (Just "git-annex") -- icon base name
["Network", "FileTransfer"]