summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2001-03-25 21:37:09 +0000
committerCarsten Haitzler <raster@rasterman.com>2001-03-25 21:37:09 +0000
commitd7057ba6a85216e842297fb7c941d71409d662f5 (patch)
tree94865c376d3d4e947921a4f19d516eaa71d77edc /data
parente5cac579ded64151376fdbda500a6ffa9afc08e8 (diff)
use mime types to determine icon.. if u lok in icons - you'll get he idea -
its just mime types exactly splatted out into a dir struct with .db at the end (falling back to default.db and unknonw/unknown/db in the end if it cant fall backto default.db) now what i need is to talk to cK and get the file magic/mime type stuff to beocme smarter even that it is.. so currently it sees a tar.gz file - it looks at the magic and boom.. it thinks is a gzip file.. thats correct.. but theres mroe to it.. now it woudl be good if the magic stuff coudl now also inspect the inside of the gzip (ie use zlib in this case) and start lookign ro a tar header to see if tis a tar.gz.... now if it si a tar.gz.. try getting the file list and seeing if there are telltale signs of it being a theme tarball or such (though this lats step may be going too far) efsd definitely needs ot cache mime type though. that much i'm certain of :) its not fast at all actually doing file magic on every file... every time the directory is "loaded" :) but excellent work! another pat on the back for ck :) SVN revision: 4451
Diffstat (limited to 'data')
-rw-r--r--data/icons/application/default.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/application/gnu-zip-unix.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/document/postscript.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/document/unknown.dbbin49152 -> 49152 bytes
-rw-r--r--data/icons/ext2/default.dbbin49152 -> 49152 bytes
-rw-r--r--data/icons/image/default.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/image/gif.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/image/jpeg-jfif-standard.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/image/jpeg.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/image/png.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/image/xpm.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/text/default.dbbin0 -> 49152 bytes
-rw-r--r--data/icons/text/plain.dbbin0 -> 49152 bytes
13 files changed, 0 insertions, 0 deletions
diff --git a/data/icons/application/default.db b/data/icons/application/default.db
new file mode 100644
index 000000000..255fc4dc6
--- /dev/null
+++ b/data/icons/application/default.db
Binary files differ
diff --git a/data/icons/application/gnu-zip-unix.db b/data/icons/application/gnu-zip-unix.db
new file mode 100644
index 000000000..636960488
--- /dev/null
+++ b/data/icons/application/gnu-zip-unix.db
Binary files differ
diff --git a/data/icons/document/postscript.db b/data/icons/document/postscript.db
new file mode 100644
index 000000000..b33890874
--- /dev/null
+++ b/data/icons/document/postscript.db
Binary files differ
diff --git a/data/icons/document/unknown.db b/data/icons/document/unknown.db
index 255fc4dc6..ea0310962 100644
--- a/data/icons/document/unknown.db
+++ b/data/icons/document/unknown.db
Binary files differ
diff --git a/data/icons/ext2/default.db b/data/icons/ext2/default.db
index 50ee2cef9..b99e09608 100644
--- a/data/icons/ext2/default.db
+++ b/data/icons/ext2/default.db
Binary files differ
diff --git a/data/icons/image/default.db b/data/icons/image/default.db
new file mode 100644
index 000000000..255fc4dc6
--- /dev/null
+++ b/data/icons/image/default.db
Binary files differ
diff --git a/data/icons/image/gif.db b/data/icons/image/gif.db
new file mode 100644
index 000000000..759e525ef
--- /dev/null
+++ b/data/icons/image/gif.db
Binary files differ
diff --git a/data/icons/image/jpeg-jfif-standard.db b/data/icons/image/jpeg-jfif-standard.db
new file mode 100644
index 000000000..399e8d99f
--- /dev/null
+++ b/data/icons/image/jpeg-jfif-standard.db
Binary files differ
diff --git a/data/icons/image/jpeg.db b/data/icons/image/jpeg.db
new file mode 100644
index 000000000..399e8d99f
--- /dev/null
+++ b/data/icons/image/jpeg.db
Binary files differ
diff --git a/data/icons/image/png.db b/data/icons/image/png.db
new file mode 100644
index 000000000..a855598d2
--- /dev/null
+++ b/data/icons/image/png.db
Binary files differ
diff --git a/data/icons/image/xpm.db b/data/icons/image/xpm.db
new file mode 100644
index 000000000..5e1496fee
--- /dev/null
+++ b/data/icons/image/xpm.db
Binary files differ
diff --git a/data/icons/text/default.db b/data/icons/text/default.db
new file mode 100644
index 000000000..255fc4dc6
--- /dev/null
+++ b/data/icons/text/default.db
Binary files differ
diff --git a/data/icons/text/plain.db b/data/icons/text/plain.db
new file mode 100644
index 000000000..e1f560cc8
--- /dev/null
+++ b/data/icons/text/plain.db
Binary files differ