Closed
Bug 571152
Opened 16 years ago
Closed 16 years ago
Method selectedRowEnumerator in class BookmarkOutlineView is deprecated
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: phiw2, Assigned: stuart.morgan+bugzilla)
Details
(Whiteboard: [good first bug][camino-2.0.6])
Attachments
(1 file)
|
3.81 KB,
patch
|
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
console noted:
6/9/10 2:23:58 PM Camino[1751] *** WARNING: Method selectedRowEnumerator in class BookmarkOutlineView is deprecated. It will be removed in a future release and should no longer be used.
(editing a bookmark in the BM manager)
http://mxr.mozilla.org/camino/search?string=selectedRowEnumerator&tree=camino
Also deprecated since 10.3: http://developer.apple.com/mac/library/documentation/cocoa/reference/ApplicationKit/Classes/NSTableView_Class/DeprecationAppendix/AppendixADeprecatedAPI.html#//apple_ref/occ/instm/NSTableView/selectedRowEnumerator
Replacement is NSIndexSet selectedRowIndexes; it's not quite as straightforward to replace as bug 571151 (in particular, we call nextObject on our enumerators, and I don't see a direct replacement for that in NSIndexSet), so I'm not going to be able to attach a patch for this bug ;)
Whiteboard: [good first bug]
| Assignee | ||
Comment 2•16 years ago
|
||
Assignee: nobody → stuart.morgan+bugzilla
Status: NEW → ASSIGNED
Attachment #450925 -
Flags: superreview?(mikepinkerton)
Comment 3•16 years ago
|
||
Comment on attachment 450925 [details] [diff] [review]
fix
+ [mBookmarksOutlineView collapseItem:doomedItem];
does collapsing upset the list of indices such that they're no longer valid afterwards?
sr=pink
Attachment #450925 -
Flags: superreview?(mikepinkerton) → superreview+
| Assignee | ||
Comment 4•16 years ago
|
||
Yes, that's why there's the funny double-loop with the break after any collapse happens. Not terribly efficient, but I was trying to update with minimal changes.
| Assignee | ||
Comment 5•16 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
This was causing conflicts landing bug 569258 on the branch, and since this and bug 571151 have been deprecated since 10.3, and 10.7 is next summer, Stuart said we could take them on branch.
Landed on CAMINO_2_0_BRANCH in advance of 2.0.6.
Flags: camino2.0.6+
Whiteboard: [good first bug] → [good first bug][camino-2.0.6]
You need to log in
before you can comment on or make changes to this bug.
Description
•