Re: Patch for defect #122477 (Can't install custom emblems in nautilus 2.4.x)



I put this in HEAD and gnome-2-4.  You can go ahead and close the bug.

Thanks,
-dave

On Mon, 2003-11-17 at 10:13, Kiran Kumar Immidi wrote:
> Hi,
>   This is a patch for the above mentioned defect. The patch is attached. 
> 
> Also the defect has been updated at http://bugzilla.gnome.org/show_bug.cgi?id=122477.
> 
> In function nautilus_emblem_view_drag_received_cb() of
> nautilus/components/emblem/nautilus-emblem-view.c, the keyword field
> of the Emblem structure was not being set to NULL. The patch does this
> in each case of the switch block.
> 
> The patch is 
> *---------------------
> --- nautilus/components/emblem/nautilus-emblem-view.c	2003-08-01 22:29:45.000000000 +0530
> +++ nautilus.bak/components/emblem/nautilus-emblem-view.c	2003-11-10 12:15:25.000000000 +0530
> @@ -729,6 +729,7 @@
>  			emblem = g_new (Emblem, 1);
>  			emblem->uri = uri;
>  			emblem->name = NULL; /* created later on by the user */
> +			emblem->keyword = NULL;
>  			emblem->pixbuf = pixbuf;
>  
>  			emblems = g_slist_prepend (emblems, emblem);
> @@ -769,6 +770,7 @@
>  			emblem = g_new (Emblem, 1);
>  			emblem->uri = uri;
>  			emblem->name = NULL;
> +			emblem->keyword = NULL;
>  			emblem->pixbuf = pixbuf;
>  
>  			emblems = g_slist_prepend (NULL, emblem);
> @@ -823,6 +825,7 @@
>  			emblem = g_new (Emblem, 1);
>  			emblem->uri = g_strdup (uri);
>  			emblem->name = NULL;
> +			emblem->keyword = NULL;
>  			emblem->pixbuf = pixbuf;
>  
>  			emblems = g_slist_prepend (NULL, emblem)
> *-----------------------
> 
> Regards,
> Kiran Kumar Immidi
> 
> 




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