Re: Application path
- From: John Emmas <johne53 tiscali co uk>
- To: gtk-app-devel-list <gtk-app-devel-list gnome org>
- Subject: Re: Application path
- Date: Tue, 18 Jan 2011 05:18:17 +0000
Thanks guys. In fact, I only need this for the purpose of calculating a path that's relative to the location
of the installed program. It's of less importance on Linux because apps tend to be installed using the same
path on everyone's system so generally, one can make an intelligent guess. However, under Windows that's not
necessarily the case. I eventually solved it using
g_win32_get_package_installation_directory_of_module(NULL) - but it didn't occur to me to check what happens
if the app got started from a shortcut. I'll check that later today. I'm not entirely sure what to do under
OS-X though. From my limited knowledge of Macs I believe the situation is similar to Linux - i.e. the user
gets no choice over where to install an app, so the path will typically be identical for most users. Is that
a reasonable assumption?
John
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]