This will probably be the last post regarding the course, assuming I pass that is, so I better make it worthwhile. Before I start bragging about my über cool bug, I’d like to say I really appreciated the pretzels. Thank you.
Bug 237376:
I know my bug didn’t involve a lot of coding, and I know it was simpler than most of the others. But then again this course was about the experience and not about the complexity of the code. I have Human Computer Interaction for that and let’s hope I finish it in time.
What was required of me, was to place “Reply to Newsgroup” before “Reply to Sender Only” when right clicked on a newsgroup message. So what I did first was actually join a newsgroup so I could be able to reproduce the bug. That just sounds sick if you ask me.
Please feel free to pick the definition of a newsgroup that you're most comfortable with from here.
It was obvious that I wouldn’t be writing something new, but reordering lines instead. So after spending some quality time with “http://mxr.mozilla.org/comm-central/” I found the file responsible for the ordering of the items in the lists, named: “mailWindowOverlay.xul”, present in “comm-central\mail\base\content”.
The part of the file that was of interest was:
< id="mailContext-replySender" label="&contextReplySender.label;" accesskey="&contextReplySender.accesskey;" oncommand="MsgReplySender(event);">
< id="mailContext-replyNewsgroup" label="&contextReplyNewsgroup.label;" accesskey="&contextReplyNewsgroup.accesskey;" oncommand="MsgReplyGroup(event);">
After I reordered those and placed newsgroup before sender, it worked like a charm, and right clicking on a newsgroup message now looked like this:
Basically that was what I was required to do. Yet having “Reply to Newsgroup” before “Reply to Sender Only” only while right clicking the message, and have the old order in the main message list, didn’t feel quite right. So I decided I’d change the order there too. Luckily it was the same file, but under:
< !-- Message -->

So that was pretty much it, come to think of it, this won't be my last post, so I'm gonna cut this short, and update you people once I get my bug reviewed.
It's not a bug, it's a feature.
Toodles!

Toodles :) You're cute. I don't understand any of this. So I'll just leave with my head held high. Thank you and Goodnight.
ReplyDelete