Re: binreloc and gnome_program_init
"Isak Savo" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, May 28, 2008 at 7:48 PM, Thomas Leonard <[email protected]> wrote: > I didn't notice anything on the Autopackage site, but are there any > recommendations about using gnome_program_init in a way that > allows easy binary relocation? I assume GNOME_PARAM_APP_DATADIR is used to locate pixmaps and stuff like that, so just setting it to whatever gbr_find_datadir() returns would be the recommended solution. Just like you did. > I replaced the #defined "PACKAGE_DATA_DIR" with some code to work > out the correct path at runtime, and it worked perfectly. Sounds like a correct solution to me. -Isak PS. As a sidenote, I think gnome_program_init is discouraged since the gnome people are trying to move away from libgnome[ui]. --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]