Bug #136430 - Crash when opening trash folder



Hi,

I filed bug 136430 (http://bugzilla.gnome.org/show_bug.cgi?id=136430)
with a patch for a crash in Nautilus.  The patch is very simple, but as
I wrote in the bug, I'm not entirely sure it's correct.

HTH,
Gustavo

? intltool-modules
? nautilus-computer.desktop
? nautilus-home.desktop
? components/hardware/Makefile
? components/hardware/Makefile.in
? components/hardware/icons/Makefile
? components/hardware/icons/Makefile.in
? components/text/services/Makefile
? components/text/services/Makefile.in
? libnautilus-extension/Makefile
? libnautilus-extension/Makefile.in
? libnautilus-extension/libnautilus-extension.pc
Index: src/nautilus-window-manage-views.c
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-window-manage-views.c,v
retrieving revision 1.333
diff -u -p -r1.333 nautilus-window-manage-views.c
--- src/nautilus-window-manage-views.c	5 Mar 2004 12:46:50 -0000	1.333
+++ src/nautilus-window-manage-views.c	7 Mar 2004 08:56:34 -0000
@@ -1270,13 +1270,13 @@ determined_initial_view_callback (Nautil
 		window->show_state = NAUTILUS_WINDOW_NOT_SHOWN;
 		if (!GTK_WIDGET_VISIBLE (window)) {
 			file = nautilus_file_get (location);
+			window->details->pending_file_for_position = file;
                                 
 			attributes = NAUTILUS_FILE_ATTRIBUTE_METADATA;
 			nautilus_file_call_when_ready (file,
                                                        attributes,
                                                        position_and_show_window_callback,
                                                        window);
-			window->details->pending_file_for_position = file;
 		}
 
 		load_content_view (window, initial_view);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]