Having the current dock menu folder show a "Use as Dock Menu" option is confusing, and isn't useful. It either shouldn't show up at all, or it should be replaced with a "Stop using as Dock Menu" item (once bug 244116 lands). This will probably require either checking against the dockMenuFolder, or changes to make sure the fallback case always sets the flag on the fallback, in order to do the right thing after a user has unset the dock menu.
Per IRC, since we now check this menu item for the current dock folder, selecting it should set the folder back to default.
Summary: "Use as Dock Menu" shouldn't show up in the context menu for the current dock menu folder → "Use as Dock Menu" menu item for the current dock menu folder should reset Dock Menu to default folder
Assignee: nobody → stridey
Status: NEW → ASSIGNED
Attachment #245040 - Flags: review?(stuart.morgan)
Oops, forgot the context menu for collections.
Comment on attachment 245043 [details] [diff] [review] Patch >+-(void) toggleDockMenu:(id)sender; toggleIsDockMenu: > - (IBAction) setAsDockMenuFolder:(id)aSender toggleIsDockMenuFolder: Can you respin this against the current trunk (sorry, I forgot there was an outstanding patch against bookmark code when I did that), with these changes?
Comment on attachment 245440 [details] [diff] [review] Patch This broke Use as Dock Menu on the collections in the bookmark manager; they are always disabled after I apply the patch.
Attachment #245440 - Flags: review?(stuart.morgan) → review-
Comment on attachment 246827 [details] [diff] [review] Not on Crack r=me on this. I've been playing around with this code a bunch tonight and this looks good.
Attachment #246827 - Flags: review?(stuart.morgan) → review+
Comment on attachment 246827 [details] [diff] [review] Not on Crack sr=pink
Attachment #246827 - Flags: superreview?(mikepinkerton) → superreview+
Checked in on 1.8branch and trunk.
Status: ASSIGNED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.