After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 407597 - 2.17.91 looking for xml to the wrong directory
2.17.91 looking for xml to the wrong directory
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: [obsolete] Preferred applications
2.17.x
Other Linux
: Normal major
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 410417 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-02-13 20:10 UTC by Sebastien Bacher
Modified: 2007-02-21 15:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sebastien Bacher 2007-02-13 20:10:27 UTC
With control-center 2.17.91 gnome-default-applications-properties lists no application, that's because it's looking at the wrong directory.

from the code

"    filename = g_build_filename (DATADIR,
				 "gnome-default-applications",
				 "gnome-default-applications.xml",
				 NULL);
"

the build has " -DDATADIR="\"/usr/share\""" and the file is installed to "/usr/share/control-center/gnome-default-applications/gnome-default-applications.xml"
Comment 1 Jens Granseuer 2007-02-13 22:21:31 UTC
2007-02-13  Jens Granseuer  <jensgr@gmx.net>

        * Makefile.am:
        * gnome-da-capplet.c: (show_dialog):
        * gnome-da-xml.c: (gnome_da_xml_load_list): really fix DATADIR and
        make directory definitions more consistent with other capplets.
        Closes bug #407597.
Comment 2 Luca Cavalli 2007-02-21 15:37:28 UTC
*** Bug 410417 has been marked as a duplicate of this bug. ***