1 diff -Naur src.ori/ooo-thumbnailer-0.2/ooo-thumbnailer src/ooo-thumbnailer-0.2/ooo-thumbnailer
2 --- src.ori/ooo-thumbnailer-0.2/ooo-thumbnailer 2009-12-15 13:04:44.000000000 +0100
3 +++ src/ooo-thumbnailer-0.2/ooo-thumbnailer 2011-05-09 21:15:15.126576972 +0200
5 test -f ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs
7 # documents in the Templates directory are ignored
8 -if [ `dirname "$ifile"` != ${XDG_TEMPLATES_DIR:-$HOME/Templates} ]; then
9 +if [ "`dirname "$ifile"`" != ${XDG_TEMPLATES_DIR:-$HOME/Templates} ]; then
10 # use imagemagick if it's installed
11 # (currently, always the case until GNOME bug #576750 is fixed and
12 # dependency on imagemagick is removed)
16 # add appropriate OpenOffice.org logo if imagemagick is installed
17 - if [ -x /usr/bin/composite ] && [ -e /usr/share/icons/hicolor/32x32/mimetypes/openofficeorg3-oasis-text.png ]; then
18 + if [ -x /usr/bin/composite ] && [ -e /usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-text.png ]; then
19 estensione=$(expr "$ifile" : '.*\(....\)')
22 - composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/openofficeorg3-oasis-text.png "$ofile" "$ofile"
23 + composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-text.png "$ofile" "$ofile"
26 - composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/openofficeorg3-oasis-presentation.png "$ofile" "$ofile"
27 + composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-presentation.png "$ofile" "$ofile"
30 - composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/openofficeorg3-oasis-drawing.png "$ofile" "$ofile"
31 + composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-drawing.png "$ofile" "$ofile"
34 - composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/openofficeorg3-oasis-spreadsheet.png "$ofile" "$ofile"
35 + composite -gravity SouthEast /usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-spreadsheet.png "$ofile" "$ofile"