fixes some errors with the path

2006-01-16  Sebastien Bacher  <seb128@debian.org>

	* gnome-da-capplet.c: (show_dialog): fixes some errors with the path
This commit is contained in:
Sebastien Bacher 2006-01-16 17:09:43 +00:00 committed by Sebastien Bacher
parent 3ec46a9076
commit 82b85f81ba
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2006-01-16 Sebastien Bacher <seb128@debian.org>
* gnome-da-capplet.c: (show_dialog): fixes some errors with the path
2006-01-16 Sebastien Bacher <seb128@debian.org>
* gnome-da-capplet.c: (show_dialog): use the correct .glade

View file

@ -688,8 +688,8 @@ show_dialog (GnomeDACapplet *capplet)
GtkIconTheme *theme;
gint i;
if (g_file_test (GLADEDIR "gnome-default-applications-properties.glade", G_FILE_TEST_EXISTS) != FALSE) {
capplet->xml = glade_xml_new (GLADEDIR "gnome-default-applications-properties.glade", NULL, PACKAGE);
if (g_file_test (GLADEDIR "/gnome-default-applications-properties.glade", G_FILE_TEST_EXISTS) != FALSE) {
capplet->xml = glade_xml_new (GLADEDIR "/gnome-default-applications-properties.glade", NULL, PACKAGE);
}
else {
capplet->xml = glade_xml_new ("./gnome-default-applications-properties.glade", NULL, PACKAGE);