PDA

View Full Version : glade problem with icons filenames



giuspen
December 31st, 2008, 10:15 PM
Seems that glade can point only to icons that lay exactely in the same directory where the ".glade" file is; if I try to point to images in other directories, glade creates a local copy and points to the local copy.
I tried to edit the glade (xml) file through text editor changing the images path between the tags, the funny thing is that the gtk application works correctly pointing to the images wherever they are but as soon as I edit again the glade file through glade, glade automatically resets all paths to point to the same directory where the ".glade" file is.
This is not a big deal, just I would like to place the icons in the standard gnome place for icons.
If anybody found a workaround please tell me.
Thanks, regards.

rich1939
January 1st, 2009, 05:51 AM
Seems that glade can point only to icons that lay exactely in the same directory where the ".glade" file is; if I try to point to images in other directories, glade creates a local copy and points to the local copy.
.

This is not ideal, but if you use a Development Environment, such as Code::Blocks, you could create a pre-build script to move the relevant icons to the .glade file's directory, and then also a post-build script to move them back.

I'm using Code::Blocks and see that my icon files are also in the same directory as my .glade file, and it would be better to have them in an "Images" folder...but it's not that big a deal for me.

giuspen
January 1st, 2009, 06:17 PM
This is not ideal, but if you use a Development Environment, such as Code::Blocks, you could create a pre-build script to move the relevant icons to the .glade file's directory, and then also a post-build script to move them back.

I'm using Code::Blocks and see that my icon files are also in the same directory as my .glade file, and it would be better to have them in an "Images" folder...but it's not that big a deal for me.

I program with Geany, good both for Python and C/C++.
Yes it's not a big deal that glade can't see icons more far than its own nose, just strange... I can't realize if it's a bug or if it's something wanted.
Regards.