Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-11-22 Thread John Ralls
On Nov 22, 2014, at 9:24 AM, Joshua Pettus jshpet...@gmail.com wrote: Either way the command doesn’t seem to work. Do you know of an alternative for git to work? You need to do it on a case-sensitive partition. If you have a Linux box or VM available that’s probably the easiest way.

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-06 Thread John Ralls
On Oct 6, 2014, at 8:37 AM, Joshua Pettus jshpet...@gmail.com wrote: I see, Harm Geert Muller, his name, just created a window called “About Xboard” and had it display some text, and licensing info. I don’t think anyone really is all that expert in the intricacies of GTK. Mostly he

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-02 Thread John Ralls
On Oct 1, 2014, at 8:54 PM, Joshua Pettus jshpet...@gmail.com wrote: Correction, that’s .lproj folders :-| And I should note we are using gtk2 with the gtkintegration lib v2.0.5 Thanks, Josh On oct 1, 2014, at 8:59 PM, Joshua Pettus jshpet...@gmail.com wrote: Hi, I managed to get

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-02 Thread John Ralls
On Oct 2, 2014, at 9:25 AM, Joshua Pettus jshpet...@gmail.com wrote: Thanks, That worked, however now with the strings that come with the library cause Xboard to crash with a segfault. I believe this has to do with the new library code putting the application name after quit and hide.

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-02 Thread Joshua Pettus
Please copy the list on all replies; use “reply all” (the double-arrow). Oops Sorry about that. :\ Please either open a bug with the stack trace of the crash or post it here; if you use the crash log you please cut it off after the stack trace, as the hundred lines of dylib information

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-02 Thread John Ralls
On Oct 2, 2014, at 1:20 PM, Kevin Bernhagen ke...@calxalot.net wrote: You should not autorelease the return value from NSLocalizedStringFromTable. OK. Do you think that might be the source of the crash in XBoard? Regards, John Ralls On Oct 2, 2014, at 1:03 PM, Joshua Pettus

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-02 Thread John Ralls
On Oct 2, 2014, at 3:37 PM, Kevin Bernhagen ke...@calxalot.net wrote: Maybe stupid questing, but you did rebuild XBoard after rebuilding the lib, right? The lib gets copied to the app bundle when the app is built. You might still be using the old lib. There’s no need to *rebuild* XBoard,

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-02 Thread Kevin Bernhagen
This should be + menuitem = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedStringFromTable (@Hide, @GtkosxApplication, @Hide menu item title), appname]] Or if the looked up string is not a format string + menuitem = [[NSMenuItem alloc] initWithTitle: [NSString

Re: [gtk-osx-users] Using localization with Application menu with the gtk mac integration library.

2014-10-01 Thread Joshua Pettus
Correction, that’s .lproj folders :-| And I should note we are using gtk2 with the gtkintegration lib v2.0.5 Thanks, Josh On oct 1, 2014, at 8:59 PM, Joshua Pettus jshpet...@gmail.com wrote: Hi, I managed to get all the gettext stuff working for the Xboard .app bundle, except for the