Re: [PATCH] Don't install exp. callbacks on multiple selections
- From: Alexander Larsson <alexl redhat com>
- To: Martin Wehner <martin wehner epost de>
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: [PATCH] Don't install exp. callbacks on multiple selections
- Date: Fri, 01 Oct 2004 17:08:34 +0200
On Fri, 2004-10-01 at 16:58 +0200, Martin Wehner wrote:
> When you select multiple (all) files in a directory, nautilus installs
> expensive callbacks on each file in the selection (mainly the slow mime
> sniffer). Basically you don't need to do it at all because the
> availability of the attributes needed to lauch a file are ensured when
> activating. But you get better response time on activating if you sniff
> the attributes ahead of time, so this patch only installs them when a
> single item is selected.
Looks very good. Feel free to commit.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's an oversexed devious househusband with a winning smile and a way with the
ladies. She's a sharp-shooting cigar-chomping Valkyrie in the witness
protection program. They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]