summaryrefslogtreecommitdiff
path: root/src/icons.h
diff options
context:
space:
mode:
authorGravatar Alan Fitton <alan@eth0.org.uk>2012-08-23 08:30:02 +0100
committerGravatar Alan Fitton <alan@eth0.org.uk>2012-08-23 08:30:02 +0100
commitfd6f3356d27d3e3b6f0506b76e0a381efed7e3ef (patch)
tree44c5d0ee9633f688f0288703dcab04af1b892671 /src/icons.h
parent63b4366fc1069fad0a51ddcaa1406447055db9a1 (diff)
adapt the cell renderer from Transmission to sort of work. possibly an alternative style, but lots of work to be done here.
Diffstat (limited to 'src/icons.h')
-rw-r--r--src/icons.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/icons.h b/src/icons.h
new file mode 100644
index 0000000..db19d92
--- /dev/null
+++ b/src/icons.h
@@ -0,0 +1,21 @@
+/*
+ * icons.[ch] written by Paolo Bacchilega, who writes:
+ * "There is no problem for me, you can license
+ * my code under whatever licence you wish :)"
+ *
+ * $Id: icons.h 11709 2011-01-19 13:48:47Z jordan $
+ */
+
+#ifndef GTR_ICONS_H
+#define GTR_ICONS_H
+
+#define DIRECTORY_MIME_TYPE "folder"
+#define UNKNOWN_MIME_TYPE "unknown"
+
+const char * gtr_get_mime_type_from_filename( const char *file );
+
+GdkPixbuf * gtr_get_mime_type_icon( const char * mime_type,
+ GtkIconSize icon_size,
+ GtkWidget * for_widget );
+
+#endif