Re: help wanted: Places sidebar selection bug fix
- From: "Nelson Benítez León" <nbenitezl gmail com>
- To: "Christian Neumair" <cneumair gnome org>
- Cc: nautilus-list <nautilus-list gnome org>
- Subject: Re: help wanted: Places sidebar selection bug fix
- Date: Sun, 17 Aug 2008 04:17:48 +0200
2008/8/16 Christian Neumair
<cneumair gnome org>
Am Donnerstag, den 24.07.2008, 11:20 +0200 schrieb Christian Neumair:
> Am Donnerstag, den 24.07.2008, 10:21 +0200 schrieb Nelson Benítez León:
> > Dear developers,
> > [..]
> > If you want to fix this issue, you should update the places
> > list model,
> > instead of clearing it and creating a new one. You might have
> > to use a
> > GtkTreeRowReference to keep the old selection.
> >
> >
> > you mean the entire places sidebar items or just the gtk-bookmarks
> > ones that are after the separator..? if it's all items would be a big
> > refactor code I think..
>
> You will have to track changes to both, so the best approach would be a
> complete model refresh, for all of the items.
>
> However, I don't see how it is a huge difference architecturally whether
> you just update the bookmarks, or all the items.
>
> You'd ask the volume monitor for a list of volumes, fetch the bookmark
> list and iterate through the model, adding/removing/changing items as
> neccessary. Whether you use one or both data sources shouldn't matter.
Any news? :)
Hi Christian, I cant code at this moment and anyway that is not on top of my list cause I didn't see clearly how to do it... sorry
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]