Re: Mime type monitor support Take 2



On Tue, 25 Jun 2002, Jody Goldberg wrote:

> After some feedback from Dave, I've taken a slightly different tack
> to this.  2 open questions
> 
> 1) Do I really need all those attributes ?
I dunno. Darin would know best. Any idea Darin?

> 2) why is the delay between the change notification and the update
>    so long ?

How long is it?

Apart from Darins comments, there is also:
directory->details->mime_db_monitor never seem to be set, and it isn't 
unconnected when the directory object dies.

+       command = g_strconcat (FILE_TYPES_CAPPLET_NAME, " '", mime_type, "' '", file_name, "'", NULL);

I think using g_shell_quote() may be safer.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an old-fashioned devious rock star on the wrong side of the law. She's a 
bloodthirsty streetsmart lawyer in the wrong place at the wrong time. They 
fight crime! 




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