From aa318aba4295d3e44fd501a1161224a210fa83e6 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 24 Jan 2004 07:44:00 +0000 Subject: Fix a crash when trying to launch gnome-filte-types-capplet on associated MIME types. Reported by: Simon Barner git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1709 df743ca5-7f9a-e211-a948-0013205c9059 --- x11-fm/nautilus2/Makefile | 1 + .../patch-libnautilus-private_nautilus-program-chooser.c | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-program-chooser.c (limited to 'x11-fm/nautilus2') diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile index e9a62e6a9..e8d16b1f8 100644 --- a/x11-fm/nautilus2/Makefile +++ b/x11-fm/nautilus2/Makefile @@ -7,6 +7,7 @@ PORTNAME= nautilus2 PORTVERSION= 2.5.5 +PORTREVISION= 1 CATEGORIES= x11-fm gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.5 diff --git a/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-program-chooser.c b/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-program-chooser.c new file mode 100644 index 000000000..009fbb5ce --- /dev/null +++ b/x11-fm/nautilus2/files/patch-libnautilus-private_nautilus-program-chooser.c @@ -0,0 +1,15 @@ +--- libnautilus-private/nautilus-program-chooser.c.orig Thu Jan 22 18:01:21 2004 ++++ libnautilus-private/nautilus-program-chooser.c Thu Jan 22 18:01:28 2004 +@@ -1610,11 +1610,11 @@ + _("_Associate Application"), GTK_STOCK_CANCEL, parent_window); + + response = gtk_dialog_run (dialog); +- gtk_object_destroy (GTK_OBJECT (dialog)); + + if (response == GTK_RESPONSE_YES) { + launch_mime_capplet (file, dialog); + } ++ gtk_object_destroy (GTK_OBJECT (dialog)); + + g_free (unavailable_message); + g_free (file_name); -- cgit v1.2.3