On Sun, Mar 20, 2011 at 3:05 AM, Kai <[email protected]> wrote:

> On 3 March 2011 01:03, Piotr Piastucki <[email protected]> wrote:
> > Hi,
> >
> > I'm attaching a patch that adds a flat view mode to dir diff. I found it
> > quite useful in some cases, especially when the folder hierarchy is
> pretty
> > complex yet there are few modified files.
>
> I like the feature, I think it's useful, and I'd love to merge it.
>
> However, this patch raises all sorts of issues that ring alarm bells.
> The big one is that I'd naively expect that the 'right' way to switch
> between flat and tree-based views would be entirely TreeView based,
> whereas this patch has a lot of TreeStore-based logic.
>
> It may require some larger changes to the underlying store, but I'd
> think that Flatten mode should really be implementable using a
> TreeViewFilter and some minor treeview display toggles.


I will be happy to implement this feature in a more appropriate way but I
 am not quite sure how it should be implemented and I will be grateful for
some guidance. As far as I can tell based on my limited experience with
gtk.TreeModelFilter it filters out selected nodes along with their children,
so this is not the behaviour we are looking for (see also
http://www.mail-archive.com/[email protected]/msg18936.html). However, I am
not an expert when it comes to GTK and maybe there are some hacks that will
make TreeModelFilter work differently. Any hints will be most appreciated.

Piotr
_______________________________________________
meld-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to