diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-24 15:44:00 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-01-24 15:44:00 +0800 |
commit | aa318aba4295d3e44fd501a1161224a210fa83e6 (patch) | |
tree | 98c8e6a9789a8a6e0eebe68cb82ef7bf2d2a9aa6 /x11-fm | |
parent | 53628317f3169ce2eea2aa94ab57cc27bc17fa66 (diff) | |
download | marcuscom-ports-aa318aba4295d3e44fd501a1161224a210fa83e6.tar marcuscom-ports-aa318aba4295d3e44fd501a1161224a210fa83e6.tar.gz marcuscom-ports-aa318aba4295d3e44fd501a1161224a210fa83e6.tar.bz2 marcuscom-ports-aa318aba4295d3e44fd501a1161224a210fa83e6.tar.lz marcuscom-ports-aa318aba4295d3e44fd501a1161224a210fa83e6.tar.xz marcuscom-ports-aa318aba4295d3e44fd501a1161224a210fa83e6.tar.zst marcuscom-ports-aa318aba4295d3e44fd501a1161224a210fa83e6.zip |
Fix a crash when trying to launch gnome-filte-types-capplet on associated
MIME types.
Reported by: Simon Barner <barner@in.tum.de>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@1709 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-fm')
4 files changed, 32 insertions, 0 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile index e9a62e6a9..e8d16b1f8 100644 --- a/x11-fm/nautilus/Makefile +++ b/x11-fm/nautilus/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/nautilus/files/patch-libnautilus-private_nautilus-program-chooser.c b/x11-fm/nautilus/files/patch-libnautilus-private_nautilus-program-chooser.c new file mode 100644 index 000000000..009fbb5ce --- /dev/null +++ b/x11-fm/nautilus/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); 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); |