nautilus-python r51 - in trunk: . src



Author: johan
Date: Fri Jan 11 14:21:29 2008
New Revision: 51
URL: http://svn.gnome.org/viewvc/nautilus-python?rev=51&view=rev

Log:
2008-01-11  Scott Tsai  <scottt tw gmail com>

	reviewed by: Johan Dahlin

	* src/nautilusmodule.c (DL_EXPORT): 
	Initialize gnomevfs, which will prevent nautilus-python from freezing.
	Fixes #500996



Modified:
   trunk/ChangeLog
   trunk/src/nautilusmodule.c

Modified: trunk/src/nautilusmodule.c
==============================================================================
--- trunk/src/nautilusmodule.c	(original)
+++ trunk/src/nautilusmodule.c	Fri Jan 11 14:21:29 2008
@@ -27,6 +27,7 @@
 /* include this first, before NO_IMPORT_PYGOBJECT is defined */
 #include <pygobject.h>
 #include <pygtk/pygtk.h>
+#include "pygnomevfs.h"
 
 void pynautilus_register_classes (PyObject *d);
 void pynautilus_add_constants(PyObject *module, const gchar *strip_prefix);
@@ -45,6 +46,7 @@
 	
     init_pygobject ();
     init_pygtk ();
+    init_pygnomevfs();
 
     m = Py_InitModule ("nautilus", pynautilus_functions);
     d = PyModule_GetDict (m);



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