Re: [Nautilus-list] Nautilus using Text view instead of Mozilla view



Le 29 May 2001 19:08:44 +0200, Frederic Crozat a écrit :
> Hi all,
> 
> I'm coming back on a problem we found on Nautilus 1.0.1 which was
> causing Nautilus to use Text_View instead of Mozilla view for http
> addresses. 

I've found where the problem is :

when we fill the list with all the available oaf server which can handle
text/html mime-type, the order of the list is changed after each
insertion. Therefore, when there is no user defined component for
text/html, first element of resulting list is returned, which is not the
first element of the oaf response to the query.

The following patch corrects the problem.

Can I commit ?

--- nautilus/libnautilus-private/nautilus-mime-actions.c.orig	Fri May 11
03:30:31 2001
+++ nautilus/libnautilus-private/nautilus-mime-actions.c	Wed May 30
19:13:13 2001
@@ -1632,7 +1632,7 @@
 
 	CORBA_free (oaf_result);
 	
-	return g_list_reverse (retval);
+	return retval;
 }
 
 


-- 
Frédéric Crozat
MandrakeSoft





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