Permalink
Browse files

Rename gitit-dog.png -> logo.png in data/static/img.

This way the logo will show up even without a local img directory.
Thanks to Thomas Hartmann for the patch.
  • Loading branch information...
1 parent 0732a48 commit b054ec6bd2008a75108d33f0dd06447f1f2ba5f8 John MacFarlane committed Oct 29, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 Network/Gitit/Initialize.hs
  2. BIN data/static/img/{gitit-dog.png → logo.png}
  3. +1 −1 gitit.cabal
@@ -170,7 +170,7 @@ createStaticIfMissing conf = do
logM "gitit" WARNING $ "Created " ++ (icondir </> f)
-}
- logopath <- getDataFileName $ "data" </> "static" </> "img" </> "gitit-dog.png"
+ logopath <- getDataFileName $ "data" </> "static" </> "img" </> "logo.png"
createDirectoryIfMissing True $ staticdir </> "img"
copyFile logopath $ staticdir </> "img" </> "logo.png"
logM "gitit" WARNING $ "Created " ++ (staticdir </> "img" </> "logo.png")
File renamed without changes
View
@@ -46,7 +46,7 @@ data-files: data/static/css/screen.css, data/static/css/print.css,
data/static/css/ie.css, data/static/css/hk-pyg.css,
data/static/css/reset-fonts-grids.css, data/static/css/base-min.css,
data/static/css/custom.css,
- data/static/img/gitit-dog.png, data/static/img/icons/feed.png,
+ data/static/img/logo.png, data/static/img/icons/feed.png,
data/static/img/icons/folder.png, data/static/img/icons/page.png,
data/static/js/dragdiff.js, data/static/js/jquery.min.js,
data/static/js/uploadForm.js, data/static/js/jquery-ui.packed.js,

0 comments on commit b054ec6

Please sign in to comment.