GNOME Bugzilla – Bug 83917
Cannot run when installed in different prefix to libgnome
Last modified: 2004-12-22 21:47:04 UTC
Scenario: I have libgnomeui et al installed in /usr from the Debian packages. I wanted to try out gnome-games so installed it using garnome, so gataxx is in $HOME/bin/gnome2/. Starting gataxx causes: Could not find '/usr/share/pixmaps/gataxx/classic.png' pixmap file for gataxx I think I traced this down to: fname = gnome_program_locate_file (NULL, GNOME_FILE_DOMAIN_PIXMAP, (tmp), FALSE, NULL); in load_pixmaps(). Replacing this with GNOME_FILE_DOMAIN_APP_PIXMAP seems to cure the problem. If this is the correct solution (it works for me), I have a patch to fix this as much as I could for most of the games.
Attach the patch to this bug please. It doesn't help me if it stays on your hard-drive ;)
Created attachment 8965 [details] [review] Patches for the prefix and transient bugs.
Attached the patch. I've also sneaked in patches calling gtk_window_set_transient_for() more often. Please test this -- it make gnome-games actually run for me but I did find a few crashes whilst checking everything still worked...
Fixed in CVS patches for dialog positioning by Ross Burton, and for data files locations by Ross Burton and myself (Closes: #83917)