[virt-tools-list] [PATCH virt-viewer] Load ui files first from installed location

Christophe Fergeau cfergeau at redhat.com
Fri Jan 17 13:43:44 UTC 2014


Hey,

On Thu, Jan 16, 2014 at 12:36:15PM -0600, Jonathon Jongsma wrote:
> virt_viewer_util_load_ui() looks first in the current directory, and then looks
> in the system data dirs for a ui file to load, but if you install virt-viewer in
> a different prefix, it will load the system UI file rather than the one from the
> install prefix. Try to load the ui file from pkgdatadir first.

I'm not sure we should try to use g_get_system_data_dirs() at all as I
generally don't expect having the application look in /usr/share when I set
$prefix.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140117/8d7e02e3/attachment.sig>


More information about the virt-tools-list mailing list