Re: [Zim-wiki] How to expand/collapse the whole tree?

2009-06-23 Thread Vlastimil Ott
Dne Út 23. června 2009 22:02:14 jste napsal(a): 

>
> At least I can not re-produce this effect here - what versions of Gtk /
> Gtk-Perl do you have ?

Mandriva Linux 2009.1:

Name: perl-Gtk2
Version : 1.220
Release : 2mdv2009.1


Name: gtk+2.0
Version : 2.16.1
Release : 4mdv2009.1

Is that correct?

-- 

Vlastimil Ott
www.e-ott.info


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] How to expand/collapse the whole tree?

2009-06-23 Thread Jaap Karssenberg

Vlastimil Ott wrote:
Dne Út 23. června 2009 19:10:56 jste napsal(a): 

  

Dotan Cohen wrote:


Vlastimil, do all your leaves have a common root? The shortcut keys
open and close a node, so you would have to be on the root node to do
that. If you have two open root-level nodes, the shortcut keys won't
close them both.
  

This should not be the case. When testing here these keys
collapse/expand _all_ nodes regardless of the nesting structure.



No, sorry, they don't - it really affects the current node only.

I have many 'roots', at present ten, with nested subtree structure.
  


That is definitely a bug - although I'm at a loss what can cause it. 
These key bindings directly call the functions 
Gtk2::TreeView->expand_all() and collapse_all() which are clearly 
documented to expand / collapse all nodes.


At least I can not re-produce this effect here - what versions of Gtk / 
Gtk-Perl do you have ?


Regards,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] How to expand/collapse the whole tree?

2009-06-23 Thread Vlastimil Ott
Dne Út 23. června 2009 19:10:56 jste napsal(a): 

> Dotan Cohen wrote:
> > Vlastimil, do all your leaves have a common root? The shortcut keys
> > open and close a node, so you would have to be on the root node to do
> > that. If you have two open root-level nodes, the shortcut keys won't
> > close them both.
>
> This should not be the case. When testing here these keys
> collapse/expand _all_ nodes regardless of the nesting structure.

No, sorry, they don't - it really affects the current node only.

I have many 'roots', at present ten, with nested subtree structure.

-- 

Vlastimil Ott
www.e-ott.info


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] How to expand/collapse the whole tree?

2009-06-23 Thread Jaap Karssenberg

Dotan Cohen wrote:

Vlastimil, do all your leaves have a common root? The shortcut keys
open and close a node, so you would have to be on the root node to do
that. If you have two open root-level nodes, the shortcut keys won't
close them both.

  


This should not be the case. When testing here these keys 
collapse/expand _all_ nodes regardless of the nesting structure.


So

+ A
+ B
+ C

becomes

- A
  1
  2
- B
  1
  2
- C
  1
  2

and back


-- Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp