summaryrefslogtreecommitdiff
path: root/sysutils/gnome-control-center/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-05 20:56:12 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-05-05 20:56:12 +0000
commitc330c809454af21cd334c94bf06a0890e265408c (patch)
treedae260a2b347b42aa04394187be50820d9dee6b2 /sysutils/gnome-control-center/files
parentUpgrade to 2.0.1. (diff)
Fix a problem with MIME types and file type icon support.
Prompted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'sysutils/gnome-control-center/files')
-rw-r--r--sysutils/gnome-control-center/files/patch-capplets_file-types_file-types-icon-entry.c11
-rw-r--r--sysutils/gnome-control-center/files/patch-configure11
2 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/gnome-control-center/files/patch-capplets_file-types_file-types-icon-entry.c b/sysutils/gnome-control-center/files/patch-capplets_file-types_file-types-icon-entry.c
new file mode 100644
index 000000000000..5b48cd25cb94
--- /dev/null
+++ b/sysutils/gnome-control-center/files/patch-capplets_file-types_file-types-icon-entry.c
@@ -0,0 +1,11 @@
+--- capplets/file-types/file-types-icon-entry.c.orig Sun May 5 16:33:51 2002
++++ capplets/file-types/file-types-icon-entry.c Sun May 5 16:34:02 2002
+@@ -424,7 +424,7 @@
+ result = NULL;
+ filename = nautilus_mime_type_icon_entry_get_full_filename (NAUTILUS_MIME_ICON_ENTRY (ientry));
+ if (filename != NULL) {
+- path_parts = g_strsplit (filename, "/share/pixmaps/", 0);
++ path_parts = g_strsplit (filename, "/share/gnome/pixmaps/", 0);
+ g_free (filename);
+
+ if (path_parts[1] != NULL) {
diff --git a/sysutils/gnome-control-center/files/patch-configure b/sysutils/gnome-control-center/files/patch-configure
new file mode 100644
index 000000000000..53566354e4ac
--- /dev/null
+++ b/sysutils/gnome-control-center/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun May 5 16:29:53 2002
++++ configure Sun May 5 16:30:05 2002
+@@ -9161,7 +9161,7 @@
+
+
+ cat >> confdefs.h <<EOF
+-#define GNOME_ICONDIR "${prefix}/share/pixmaps"
++#define GNOME_ICONDIR "${datadir}/pixmaps"
+ EOF
+
+