Thunderbird/Students/StatusUpdates/2010-03-26: Difference between revisions

 
Line 19: Line 19:


===== Lindauson Hazell  =====
===== Lindauson Hazell  =====
So the last problem I had was, the changes I was making through the mailUtilityOverlay.xul were not being realized in Shredder. That's been resolved -- I had multiple mailUtilityOverlay.xul files; I was editing the wrong one.
The next thing I started doing were tests -- disabling UI elements to see how such edits translated in Shredder.
The result was pretty inconsistent with what I thought should have been: Disabling a menu items in the mailUtilityOverlay.xul did not necessarily disable that menu item in Shredder. In fact it was hit and miss.
It took a while, but after reading a bit (and being totally confused for awhile) I think I understand: I'm assuming the mailUtilityOverlay.xul only acts as an instantiator, the state of the menu items may be changed, by other entities. I have two theories now:
1. Not instanciating the menu elements to "disabled=true" results in these elements being enabled when they shouldn't.
2. I've been searching comm-central for a while now, and I haven't seen these elements instantiated, or even mentioned anywhere else. Maybe that's the reason these are not being correctly enabled -- they are not referenced anywhere. (I know that doesn't make sense, so why do they work?)
I don't know, I'm not sure, what I can try next, any suggestions, are welcomed...


===== Evan Stratford  =====
===== Evan Stratford  =====
28

edits