Two toolbars; should enable/disable seperately


Subject: Two toolbars; should enable/disable seperately
From: Aaron Lehmann (aaronl@vitelus.com)
Date: Sat Feb 26 2000 - 22:23:12 CST


I notice that in the options dialog there is an option to disable or
enable the toolbars. What if you want to be selective (like me) and wan't
one but don't want the other? I think that there should be a checkbox for
each. So, I coded a small UI patch that changes the checkbox into two
checkboxes. I messed with the code on each platform, but it will probably
only work on UNIX, as that is the only place I have tested it. Note that
you have to make clean to get it to work; it took me a long time to figure
that out.

The checkboxes don't work; and neither did the single checkbox they
replace. However, the old checkbox was enabled, somewhat in violation of
the "things should just work" policy. I have disabled the two new
checkboxes.

Naturally, the next thing I want to try is to make them work. I looked a
lot around the code, and it looks like the logical way to do it would be
to create a prefs listener in all of the platform-specific frame classes
(ugh) and make it destory or recreate the appropriate toolbar. I don't
think this really belongs in platform-specific code though, and the
creation of the toolbars seems to be in the af/ subdirectory, meaning it
would be framework code. Where do you think the code to handle this should
go?

Thanks,
Aaron Lehmann




This archive was generated by hypermail 2b25 : Sat Feb 26 2000 - 22:23:46 CST