[bug #19031] [NSDocument runModalSavePanel:withAccessoryView:] doesn't check for existing accessoryView

2007-02-11 Thread Fabian Borschel
URL: Summary: [NSDocument runModalSavePanel:withAccessoryView:] doesn't check for existing accessoryView Project: GNUstep Submitted by: seirei Submitted on: Sunday 02/11/2007 at 16:37

[bug #19031] [NSDocument runModalSavePanel:withAccessoryView:] doesn't check for existing accessoryView

2007-02-18 Thread Fred Kiefer
Update of bug #19031 (project gnustep): Status:None => In Progress Assigned to:None => FredKiefer Open/Closed:Open => In Test _

[bug #19031] [NSDocument runModalSavePanel:withAccessoryView:] doesn't check for existing accessoryView

2007-02-20 Thread Fabian Borschel
Follow-up Comment #2, bug #19031 (project gnustep): Your workaround is wrong in a kind of funny way. You should test whether savePanel _already_ has an attached accessoryView. So something like - (int)runModalSavePanel: (NSSavePanel *)savePanel withAccessoryView: (NSView *)accessoryView

[bug #19031] [NSDocument runModalSavePanel:withAccessoryView:] doesn't check for existing accessoryView

2007-02-20 Thread Fred Kiefer
Follow-up Comment #3, bug #19031 (project gnustep): Not sure, if you are correct. I would expect that, if you don't want the standard accessory view for your document, you override the shouldRunSavePanelWithAccessoryView method to return NO. Why would you want any other accessory view to be crea

[bug #19031] [NSDocument runModalSavePanel:withAccessoryView:] doesn't check for existing accessoryView

2007-02-20 Thread Fabian Borschel
Follow-up Comment #4, bug #19031 (project gnustep): Hm, well I thought if i don't want any accessory view you override the [NSDocument shouldRunSavePanelWithAccessoryView] and return NO. If you want a customized accessory view you override [NSDocument prepareSavePanel] and do you changes there.

[bug #19031] [NSDocument runModalSavePanel:withAccessoryView:] doesn't check for existing accessoryView

2007-02-20 Thread Fred Kiefer
Follow-up Comment #5, bug #19031 (project gnustep): The text there is not as clear to me as it seems to be for you: "You can control whether the default accessory view (which contains a pop-up menu allowing the user to choose what type to save) appears in the Save panel by overriding shouldRunSa