- (NSInteger) displayDialog:(NSString*)msg withTitle:(NSString*)title withOK:(NSString*)oktxt withNOK:(NSString*)noktxt {
NSAlert *alert = [NSAlert alertWithMessageText:title defaultButton:oktxt alternateButton:noktxt otherButton:nil informativeTextWithFormat:msg];
NSInteger button = [alert runModal];
return button;
}
I have a voodoopad application that I'm finally getting around to updating to VP5. My VP4 version is running a private hacked JSTalk with that tweak to give me dialogs that a user can cancel, as well as accept. I'd like to distribute what I've built in VoodooPad to a wider audience, but I'd rather not require them to install a custom JSTalk version into the software.
I'm not familiar/fluid enough with github to easily jump into the git model of development and send you a pull request, but if you'd like, I can fuddle through that to get the edit up to you in-place.
If I can get this all working in a default installation of VoodooPad, I'm happy to share the base application (a rather deeply automated lab-notebook type diary) with the community.
Will Ray
--
You received this message because you are subscribed to the Google Groups "JSTalk Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jstalk-dev+...@googlegroups.com.
To post to this group, send email to jstal...@googlegroups.com.
Visit this group at http://groups.google.com/group/jstalk-dev.
For more options, visit https://groups.google.com/groups/opt_out.
Can you give me a real-quick-like pointer to how I find, and patch, the mocha branch?
I'm a dinosaur. I speak SCCS, and can muddle my way along with some pain in systems as modern as SVN, but git confuses me.