diff options
author | N.N. <matju@users.sourceforge.net> | 2009-06-03 23:39:44 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-06-03 23:39:44 +0000 |
commit | 867b35db777a607bbd3f98b72aee20bd0e3608b1 (patch) | |
tree | 7d6669c33d3c666cd03dd87dc587f5cc83a8925d /desiredata | |
parent | 56f31027e0d83995cf6ce9225241f4041e85c7c3 (diff) |
fix ddrc editor's use of notebook
svn path=/trunk/; revision=11668
Diffstat (limited to 'desiredata')
-rw-r--r-- | desiredata/src/desire.tk | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/desiredata/src/desire.tk b/desiredata/src/desire.tk index 7b0ae044..077c6df3 100644 --- a/desiredata/src/desire.tk +++ b/desiredata/src/desire.tk @@ -8155,18 +8155,15 @@ def ClientPrefsDialogue init {} { switch $type { void { set type toggle }} switch $type { section { - $@nb add_section [incr section] [say $name] + incr section + $@nb add [ttk::notebook $@nb.$section] -text [say $name] set which_section $f.$section set which_self $self set subsection 0 } subsection { - set subself $self.1.$section.subsections - if {!$subsection} { - lappend @nbs [Notebook new_as $subself 590 300] - pack .$subself - } - $subself add_section [incr subsection] [say $name] + set subself $self.1.$section + .$subself add [frame .$subself.[incr subsection]] -text [say $name] set which_section .$subself.$subsection set which_self $subself } |