[Glade-users] Relative filenames
- From: proglottis at nothing.co.nz (James)
- Subject: [Glade-users] Relative filenames
- Date: Sun, 23 Nov 2008 21:42:02 +1300
Hey,
Are relative filenames allowed in glade-3? I guess it depends on GTK
XML, does anyone know? The GTK documentation says:
"Pixbufs can be specified as a filename of an image file to load."
Glade seems to copy the images to whichever folder I save the glade
file. Which works, but it's turning my resources folder a bit of a
dumping ground.
I tried editing the glade file manually, and it works, even correctly
translates into the GTK XML. But since I used Linux path separators it's
a gamble if it's going to work in windows.
From: main.glade
<property name="pixbuf">ingredient.png</property>
To:
<property name="pixbuf">../pixmaps/ingredient.png</property>
Directory Tree:
data/
gtk/
main.glade
main.xml
...
pixmaps/
ingredient.png
...
...
Cheers,
James
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]