Browse files

icons: Replace gif icons from mediaIndexer by png icons from Tango.

The Tango project defines a set of standardized icons. These are available on a
CC-BY-SA 2.5 license and look nicer than the old icons. So replace the old
icons.

Default icon size changed to 32x32 to follow the size set by the rendered
preview icons.
  • Loading branch information...
1 parent 6280b58 commit 301ad67f82275184493579701bb2dbfe656d7bf6 @kblin kblin committed Oct 31, 2008
Showing with 20 additions and 8 deletions.
  1. +10 −0 README.txt
  2. +1 −1 wombat/lib/preview.py
  3. BIN wombat/public/images/admin.gif
  4. BIN wombat/public/images/archive.gif
  5. BIN wombat/public/images/code.gif
  6. BIN wombat/public/images/compressed.gif
  7. BIN wombat/public/images/dir.gif
  8. BIN wombat/public/images/dir.png
  9. BIN wombat/public/images/dir_small.png
  10. BIN wombat/public/images/download.gif
  11. BIN wombat/public/images/edit.gif
  12. BIN wombat/public/images/edit.png
  13. BIN wombat/public/images/flash.gif
  14. BIN wombat/public/images/image.gif
  15. BIN wombat/public/images/image.png
  16. BIN wombat/public/images/model.gif
  17. BIN wombat/public/images/model.png
  18. BIN wombat/public/images/na.gif
  19. BIN wombat/public/images/other.gif
  20. BIN wombat/public/images/other.png
  21. BIN wombat/public/images/para.gif
  22. BIN wombat/public/images/pdf.gif
  23. BIN wombat/public/images/ps.gif
  24. BIN wombat/public/images/quicktime.gif
  25. BIN wombat/public/images/realplayer.gif
  26. BIN wombat/public/images/req-on.png
  27. BIN wombat/public/images/sound.gif
  28. BIN wombat/public/images/sound.png
  29. BIN wombat/public/images/stream.gif
  30. BIN wombat/public/images/text.gif
  31. BIN wombat/public/images/text.png
  32. BIN wombat/public/images/up.gif
  33. BIN wombat/public/images/up.png
  34. BIN wombat/public/images/video.gif
  35. BIN wombat/public/images/video.png
  36. BIN wombat/public/images/winmedia.gif
  37. BIN wombat/public/images/word.gif
  38. BIN wombat/public/images/zipdir.gif
  39. BIN wombat/public/images/zipdir.png
  40. +2 −2 wombat/templates/components/dir_trees.html
  41. +5 −3 wombat/templates/components/nav.html
  42. +1 −1 wombat/templates/derived/dir/dirlist.html
  43. +1 −1 wombat/templates/derived/show/searchresults.html
View
10 README.txt
@@ -17,3 +17,13 @@ Tweak the config file as appropriate and then setup the application::
paster setup-app config.ini
Then you are ready to go.
+
+
+Licensing
+=========
+
+Unless otherwise mentioned, all files are released under the GNU GPL v2.
+A notable exception to this are some of the icons in wombat/public/images, which
+were released under a CC-BY-SA 2.5 license by the Tango project.
+(http://tango.freedesktop.org/Tango_Icon_Library)
+
View
2 wombat/lib/preview.py
@@ -103,7 +103,7 @@ def getIcon(file):
if icon_name == None:
icon_name = createPreview(file, "icon")
if icon_name == None:
- return "/images/%s.gif" % getType(file.name)
+ return "/images/%s.png" % getType(file.name)
return "/thumb/%s" % icon_name
View
BIN wombat/public/images/admin.gif
Deleted file not rendered
View
BIN wombat/public/images/archive.gif
Deleted file not rendered
View
BIN wombat/public/images/code.gif
Deleted file not rendered
View
BIN wombat/public/images/compressed.gif
Deleted file not rendered
View
BIN wombat/public/images/dir.gif
Deleted file not rendered
View
BIN wombat/public/images/dir.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wombat/public/images/dir_small.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wombat/public/images/download.gif
Deleted file not rendered
View
BIN wombat/public/images/edit.gif
Deleted file not rendered
View
BIN wombat/public/images/edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wombat/public/images/flash.gif
Deleted file not rendered
View
BIN wombat/public/images/image.gif
Deleted file not rendered
View
BIN wombat/public/images/image.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wombat/public/images/model.gif
Deleted file not rendered
View
BIN wombat/public/images/model.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wombat/public/images/na.gif
Deleted file not rendered
View
BIN wombat/public/images/other.gif
Deleted file not rendered
View
BIN wombat/public/images/other.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN wombat/public/images/para.gif
Deleted file not rendered
View
BIN wombat/public/images/pdf.gif
Deleted file not rendered
View
BIN wombat/public/images/ps.gif
Deleted file not rendered
View
BIN wombat/public/images/quicktime.gif
Deleted file not rendered
View
BIN wombat/public/images/realplayer.gif
Deleted file not rendered
View
BIN wombat/public/images/req-on.png
Deleted file not rendered
View
BIN wombat/public/images/sound.gif
Deleted file not rendered
View
BIN wombat/public/images/sound.png
Diff not rendered.
View
BIN wombat/public/images/stream.gif
Diff not rendered.
View
BIN wombat/public/images/text.gif
Diff not rendered.
View
BIN wombat/public/images/text.png
Diff not rendered.
View
BIN wombat/public/images/up.gif
Diff not rendered.
View
BIN wombat/public/images/up.png
Diff not rendered.
View
BIN wombat/public/images/video.gif
Diff not rendered.
View
BIN wombat/public/images/video.png
Diff not rendered.
View
BIN wombat/public/images/winmedia.gif
Diff not rendered.
View
BIN wombat/public/images/word.gif
Diff not rendered.
View
BIN wombat/public/images/zipdir.gif
Diff not rendered.
View
BIN wombat/public/images/zipdir.png
Diff not rendered.
View
4 wombat/templates/components/dir_trees.html
@@ -1,14 +1,14 @@
%if c.dir != '':
%if c.dir.path != u'.':
<li><a href="${h.url_for(controller="dir")}?path=${c.dir.parent.path}">
- <img src="/images/up.gif" alt="<-" border="0" />
+ <img src="/images/up.png" alt="<-" border="0" />
Up one level
</a>
</li>
%endif
%for dir in c.dir.subdirs:
<li><a href="${h.url_for(controller="dir")}?path=${dir.path}">
- <img src="/images/dir.gif" alt="->" border="0" />
+ <img src="/images/dir_small.png" alt="->" border="0" />
${h.truncStr(dir.name, 20)}
</a>
</li>
View
8 wombat/templates/components/nav.html
@@ -2,15 +2,17 @@
<h3 class="lfloat">Navigation&nbsp;</h3>
<ul>
%for entry in h.getBreadcrumbTrail(c.dir):
- <li><a href="${h.url_for(controller="dir")}?path=${entry.path}"><img src="/images/dir.gif" border="0" alt="*" />&nbsp;${h.truncStr(entry.name,12)}</a>
+ <li><a
+ href="${h.url_for(controller="dir")}?path=${entry.path}"><img
+ src="/images/dir_small.png" border="0" alt="*" />&nbsp;${h.truncStr(entry.name,12)}</a>
%endfor
%if c.file != "":
<li><a href="${h.url_for(controller="dir")}?path=${c.dir.path}">
- <img src="/images/dir.gif" border="0" alt="*" />&nbsp;${h.truncStr(c.dir.name, 12)}
+ <img src="/images/dir_small.png" border="0" alt="*" />&nbsp;${h.truncStr(c.dir.name, 12)}
</a>
</li>
%else:
- <li><img src="/images/dir.gif" border="0" alt="*" />&nbsp;${h.truncStr(c.dir.name, 12)}</li>
+ <li><img src="/images/dir_small.png" border="0" alt="*" />&nbsp;${h.truncStr(c.dir.name, 12)}</li>
%endif
</ul>
</div>
View
2 wombat/templates/derived/dir/dirlist.html
@@ -7,7 +7,7 @@
%for dir in c.dir.subdirs:
<td class="cell" valign="top" width="50%">
<a href="${h.url_for(controller="dir")}?path=${dir.path}" title="${dir.name}">
- <img class="fade" src="/images/dir.gif"
+ <img class="fade" src="/images/dir.png"
border="0" alt="*" />&nbsp;${h.truncStr(dir.name,26)}&nbsp;
<small>(${len(dir.subdirs)} subdirs &nbsp;${len(dir.files)} files)</small><br />
</a>
View
2 wombat/templates/derived/show/searchresults.html
@@ -10,7 +10,7 @@
%for dir in c.found_dirs:
<td class="cell" valign="top" width="50%">
<a href="${h.url_for(controller="dir")}?path=${dir.path}" title="Open ${dir.name}">
- <img class="fade" src="/images/dir.gif" border="0" alt="*" />
+ <img class="fade" src="/images/dir.png" border="0" alt="*" />
</a>
&nbsp;
<a href="${h.url_for(controller="dir")}?path=${dir.path}" title="Directory details: ${dir.name}">

0 comments on commit 301ad67

Please sign in to comment.