From c330c809454af21cd334c94bf06a0890e265408c Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sun, 5 May 2002 20:56:12 +0000 Subject: Fix a problem with MIME types and file type icon support. Prompted by: Franz Klammer --- sysutils/gnomecontrolcenter2/Makefile | 1 + .../files/patch-capplets_file-types_file-types-icon-entry.c | 11 +++++++++++ sysutils/gnomecontrolcenter2/files/patch-configure | 11 +++++++++++ 3 files changed, 23 insertions(+) create mode 100644 sysutils/gnomecontrolcenter2/files/patch-capplets_file-types_file-types-icon-entry.c create mode 100644 sysutils/gnomecontrolcenter2/files/patch-configure (limited to 'sysutils/gnomecontrolcenter2') diff --git a/sysutils/gnomecontrolcenter2/Makefile b/sysutils/gnomecontrolcenter2/Makefile index 2437c4c92ffd..06b89691fae7 100644 --- a/sysutils/gnomecontrolcenter2/Makefile +++ b/sysutils/gnomecontrolcenter2/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnomecontrolcenter PORTVERSION= 1.4.0.5 +PORTREVISION= 1 CATEGORIES= sysutils gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/control-center diff --git a/sysutils/gnomecontrolcenter2/files/patch-capplets_file-types_file-types-icon-entry.c b/sysutils/gnomecontrolcenter2/files/patch-capplets_file-types_file-types-icon-entry.c new file mode 100644 index 000000000000..5b48cd25cb94 --- /dev/null +++ b/sysutils/gnomecontrolcenter2/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/gnomecontrolcenter2/files/patch-configure b/sysutils/gnomecontrolcenter2/files/patch-configure new file mode 100644 index 000000000000..53566354e4ac --- /dev/null +++ b/sysutils/gnomecontrolcenter2/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 <