Re: Thumbnail cleanup UI patch (bug 150483)



On Thu, 2005-04-28 at 16:35 +0200, pHilipp Zabel wrote:
> On 4/27/05, Alexander Larsson <alexl redhat com> wrote:
> > Also, if anyone would like to look into removing thumbnails
> > automatically when nautilus removes/moves files that would be much
> > appreciated.
> 
> libnautilus-private/nautilus-file-operations.c: in
> sync_transfer_callback, line 1708:
> 
> 		case GNOME_VFS_XFER_PHASE_DELETESOURCE:
> 			g_assert (progress_info->source_name != NULL);
> 			if (progress_info->top_level_item) {
> 				nautilus_file_changes_queue_schedule_metadata_remove 
> 					(progress_info->source_name);
> 			}
> 			nautilus_file_changes_queue_file_removed (progress_info->source_name);
> 			break;
> 
> I don't understand why progress_info->top_level_item is always
> zero here, even if I'm shift-deleting a single file. It seems that 
> nautilus_file_changes_queue_schedule_metadata_remove is
> just never called?

What if you move a file, is it called then?

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a maverick skateboarding senator from the Mississippi delta. She's a 
pregnant mutant college professor married to the Mob. They fight crime! 




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