Closed Bug 295212 Opened 19 years ago Closed 19 years ago

internally rename unifinders' column "filename" to "calendarname" [trunk]

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gekacheka, Assigned: mostafah)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: trunk

The unifinder (and unifinder todo) column internally named "filename" should
instead be named "calendarname".  (mvl requested this at bug 295164 comment 2. 
I guess because it is a user-editable display name, not a filename recognized by
the OS).

Reproducible: Always

Steps to Reproduce:
1. See code at
http://lxr.mozilla.org/mozilla/source/calendar/resources/content/calendar.xul#687
2.
3.

Actual Results:  
column is internally named unifinder-search-results-tree-col-filename with label
&calendar.unifinder.tree.filename.label;

Expected Results:  
column is internally named unifinder-search-results-tree-col-calendarname with
label &calendar.unifinder.tree.calendarname.label;
please apply this fix after bug 295164, bug 278621, bug 295168 to avoid
invalidating those patches.
Depends on: 278621, 295164, 295168
(patch -l -p 2 -i file.patch)
(Please apply after bug 278621, bug 295164, and bug 295168)

renames 
-  unifinder-todo-tree-col-filename
+  unifinder-todo-tree-col-calendarname

- unifinder-search-results-tree-col-filename
+ unifinder-search-results-tree-col-calendarname

- &calendar.unifinder.tree.filename.label;
+ &calendar.unifinder.tree.calendarname.label;

Testing:  calendar name column and sorting still work.
Attachment #184308 - Flags: first-review?(mvl)
I don't see why you introduce a filename column in bug 295168, and then rename
it here. Why not give it the right name when you introduce it, so in bug 295168?
I'm trying to save work updating the previously submitted patches for the other
bugs.

The unifinder and calendar.dtd already used the "&...filename;" name, so I was
being consistent with that in those previous patches.
Attachment #184308 - Flags: first-review?(mvl) → first-review+
patch checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: