Skip site navigation (1)Skip section navigation (2)
Date:      27 May 2002 01:17:56 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        gnome@FreeBSD.org
Subject:   Anyone seeing a SIGABRT when exiting Nautilus 2?
Message-ID:  <1022476676.24908.26.camel@gyros.marcuscom.com>

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

--=-aFfNk/l//re798YCpGuS
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Everytime I log out of GNOME 2 on my test machine, Nautilus dies with a
SIGABRT.  Here is a patch that might fix the problem.  It may be a moot
point, however, since it looks like there is another GNOME 2 snapshot
available with an updated Nautilus.  In any event, this will let me know
if I have more searching to do.  Thanks.

Joe


--=-aFfNk/l//re798YCpGuS
Content-Disposition: attachment; filename=patch-src_file-manager_fm-directory-view.c
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-c; name=patch-src_file-manager_fm-directory-view.c;
	charset=ISO8859-1

--- src/file-manager/fm-directory-view.c.orig	Mon May 27 01:15:44 2002
+++ src/file-manager/fm-directory-view.c	Mon May 27 01:20:07 2002
@@ -1285,11 +1285,8 @@
 	FMDirectoryView *view;
=20
 	view =3D FM_DIRECTORY_VIEW (object);
-=09
-	monitor_file_for_open_with (view, NULL);
=20
-	fm_directory_view_stop (view);
-	fm_directory_view_clear (view);
+	disconnect_model_handlers (view);
=20
 	/* Since we are owned by the NautilusView, if we're going it's
 	 * gone. It would be even better to NULL this out when the
@@ -1299,6 +1296,11 @@
 	view->details->zoomable =3D NULL;
 	view->details->nautilus_view =3D NULL;
=20
+	monitor_file_for_open_with (view, NULL);
+
+	fm_directory_view_stop (view);
+	fm_directory_view_clear (view);
+
 	EEL_CALL_PARENT (GTK_OBJECT_CLASS, destroy, (object));
 }
=20
@@ -1315,7 +1317,6 @@
 		remove_directory_from_scripts_directory_list (view, node->data);
 	}
=20
-	disconnect_model_handlers (view);
 	nautilus_directory_unref (view->details->model);
 	view->details->model =3D NULL;
 	nautilus_file_unref (view->details->directory_as_file);

--=-aFfNk/l//re798YCpGuS--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




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