svn path=/trunk/; revision=132
* src/main.c:
- Fetch the UDN and friendlyname from gconf and set them to default
- values if gconf keys aren't already set.
+ - Fetch the UDN and friendlyname from gconf and set them to default
+ values if gconf keys aren't already set.
+ - No need to load the modified description document anymore.
2008-04-22 Zeeshan Ali Khattak <zeenix@gmail.com>
MODIFIED_DESC_DOC,
NULL);
- /* Load description.xml. Loads the already-modified version, if it
- * exists. */
- if (g_file_test (desc_path, G_FILE_TEST_EXISTS))
- doc = xmlParseFile (desc_path);
- else
- doc = xmlParseFile (DATA_DIR
- G_DIR_SEPARATOR_S
- DESC_DOC);
+ doc = xmlParseFile (DATA_DIR G_DIR_SEPARATOR_S DESC_DOC);
if (doc == NULL)
return NULL;