Changes

Jump to: navigation, search

Calendar:Hacking

54 bytes added, 23:02, 4 May 2006
m
XUL Hacking
==== XUL Hacking ====
Our first hack is going to be to change the name of tab that holds the minimonth (the small calendar in the upper-left of the screen). If you recall back to the days of Sunbird 0.2, this tab used to say 'Calendar'. However, since the other tab is named 'Calendars', it was confusing, and so it was changed in [http://bugzilla.mozilla.org/show_bug.cgi?id=270907 Bug 270907]. We're going to try to change it back, just as an exercise. (DON'T CLICK THAT LINK YET. Try to work through this on your own. If you get stuck, you can look at the patch in that bug for guidance, though.)
4.) The main Sunbird window lives in the calendar.xul file inside <tt>content/calendar</tt>. Open this file in your text-editor.
Congratulations, this is the proper way to change that string.
 
==== JS Hacking ====
No hacking introduction would be complete without a 'Hello World' example of some sort. So, here's ours. Start with steps 1-3 above.
289
edits

Navigation menu