[Borges-users] TabPanel
Kaspar Schiess
eule at space.ch
Wed Apr 7 00:08:10 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Here's a quick patch to the TabPanel class, displaying the first TAB and
not its name by default.
I think that must have been the original intention. Can be tested by
looking at the Tests (the runtime tests, not the test cases).
kaspar - code philosopher
- -- stolen off the net --
Making fun of philosophy is really philosophising.
-- Blaise Pascal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAcxw6Fifl4CA0ImQRAj+9AKCQKUIEKule3aZ+PlLIy1R4C+se4gCfWGBe
k3MalGG+q/GfC87kThBqbFE=
=acF6
-----END PGP SIGNATURE-----
-------------- next part --------------
diff -r -b -u c:\unix\ruby\lib\ruby\site_ruby\1.8\Borges\./Component/TabPanel.rb ./Component/TabPanel.rb
--- c:\unix\ruby\lib\ruby\site_ruby\1.8\Borges\./Component/TabPanel.rb Fri Apr 2 00:46:17 2004
+++ ./Component/TabPanel.rb Thu Nov 27 09:13:03 2003
@@ -4,7 +4,7 @@
def initialize(tabs = {})
@tabs = tabs
- @selected_tab = @tabs[ @tabs.keys.sort.first ]
+ @selected_tab = @tabs.keys.sort.first
end
def render_content_on(r)
More information about the Borges-users
mailing list