[Geany-devel] GtkRecentManager slowness - Re: [patch] Improved documents list sorting
enrico.troeger at xxxxx
Sun May 9 11:39:35 UTC 2010
On Sat, 8 May 2010 15:37:53 +0200 (CEST), lists.ban at herbesfolles.org
> > On Thu, 29 Apr 2010 18:47:41 +0200, Colomban wrote:
> >> Nick Treleaven a Ã©crit :
> >> > On Thu, 29 Apr 2010 17:46:45 +0200
> >> > Enrico TrÃ¶ger <enrico.troeger at uvena.de> wrote:
> >> >
> >> >>> Yes, I think it could be a (hidden?) option at least until it
> >> >>> got fixed at the GTK level. Note that anyway it is only
> >> >>> available if Geany was compiled against GTK >= 2.12.
> >> >> Which is probably true for most Geany users (using GTK >= 2.12).
> >> >
> >> > (After a quick Grep it seems to me it's 2.10, not 2.12).
> >> Yes, actually. I don't know why I've said 2.12 sorry.
> >> >> Maybe we could generally disable calling
> >> >> gtk_recent_manager_add_item() when opening more than one file at
> >> >> once because maybe the user doesn't want to have them added at
> >> >> all. Though, no idea if this is a valid assumption and also no
> >> >> idea how to verify it :).
> >> I don't think so. I use that recent files feature, not that much
> >> but I use it. And I would be definitely surprised if a file is
> >> added to it if I open it alone but not if I open another file
> >> together. But of course if we open 15 files and only 10 are shown
> >> in the recent list, the first 5 might haven't be added at all. It
> >> would probably be a little tricky to do that but it's probably the
> >> less wrong workaround.
> > I'm not sure what you mean. Only add the last 10 files when opening
> > multiple files at once?
> Yes. Or even better than "the last 10", the number returned by
According to the docs, the "limit" property defaults to -1 which
probably means 'no limit'. So, if the default is no limit, we would not
gain much by it, I'm afraid.
Am I missing something?
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the Devel