Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jan 2004 05:06:35 +0100
From:      Simon Barner <barner@in.tum.de>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: Nautilus crashes when associating applications to unknown file types
Message-ID:  <20040124040635.GB44876@zi025.glhnet.mhn.de>
In-Reply-To: <20040123181740.GA39634@zi025.glhnet.mhn.de>
References:  <20040121120143.GC903@zi025.glhnet.mhn.de> <1074812611.774.120.camel@gyros> <20040123181740.GA39634@zi025.glhnet.mhn.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--xo44VMWPx7vlQ2+2
Content-Type: multipart/mixed; boundary="ZoaI/ZTpAVc4A5k6"
Content-Disposition: inline


--ZoaI/ZTpAVc4A5k6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

> It improved the situation in such a way that now
> `gnome-file-type-properties' crashes.

I have attached a patch that solves this problem. I don't know enough of
the glib/gnome architecture to tell, whether this will introduce a
memory leak or not.

After all, the dialog is displayed now.

The problem, that .txt files are not recognized correctly, and that
associating an application with them, still remains. Since you
indicated, that there are major changes in the area in progress, I
suppose that this will be fixed soon.

Simon

--ZoaI/ZTpAVc4A5k6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment;
	filename="patch-capplets::file-types::mime-edit-dialog.c"
Content-Transfer-Encoding: quoted-printable

--- capplets/file-types/mime-edit-dialog.c.orig	Sat Jan 24 04:50:29 2004
+++ capplets/file-types/mime-edit-dialog.c	Sat Jan 24 04:51:30 2004
@@ -270,7 +270,7 @@
 				       _("Is add dialog"),
 				       _("True if this dialog is for adding a MIME type"),
 				       FALSE,
-				       G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
+				       G_PARAM_READWRITE /* | G_PARAM_CONSTRUCT_ONLY */));
=20
 	dialog_signals[DONE] =3D
 		g_signal_new ("done",

--ZoaI/ZTpAVc4A5k6--

--xo44VMWPx7vlQ2+2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFAEe9LCkn+/eutqCoRAtxGAKCUt9HxV76j5wfday7ioIt9yJTXcACbBNnG
qNwgv5DAdFa0e/drhVNb2Lo=
=XXB0
-----END PGP SIGNATURE-----

--xo44VMWPx7vlQ2+2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040124040635.GB44876>