On Tue, Oct 6, 2009 at 11:59 PM, Chris Frey <cdf...@foursquare.net> wrote:

> Dumb(?) question:  what is the advantage of including .glade stuff
> in the code?  I thought .glade files were just distributed along
> with the app and installed under /usr/share somewhere.

Yeah, and that works fine on Linux, of course :-).

However, I was worried about building binaries for OSX and Win32,
which would have to look for those files in different places. So I
figured the easiest thing would be to include them directly in the
code.

Of course, that led to the problem of having two copies of the
ui-definition that would get out of sync all the time. I guess
figuring out platform-independent loading of an external glade file
would have been just as fast in the end ;-).

Kai


_______________________________________________
Adonthell-devel mailing list
Adonthell-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/adonthell-devel

Reply via email to