* src/prefs-model.c: (gl_prefs_model_save_settings),
(gl_prefs_model_load_settings):
Set default units for file output.
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@752
f5e0f49d-192f-0410-a22d-
a8d8700d0965
+2008-02-18 Jim Evins <evins@snaught.com>
+
+ * src/prefs-model.c: (gl_prefs_model_save_settings),
+ (gl_prefs_model_load_settings):
+ Set default units for file output.
+
2008-02-18 Jim Evins <evins@snaught.com>
* help/C/glabels.xml:
#include "prefs-model.h"
#include <libglabels/db.h>
+#include <libglabels/xml.h>
#include "marshal.h"
#include "util.h"
BASE_KEY PREF_UNITS,
units_to_string(prefs_model->units),
NULL);
+ lgl_xml_set_default_units (prefs_model->units);
/* Default page size */
gconf_client_set_string (prefs_model->gconf_client,
DEFAULT_UNITS_STRING);
prefs_model->units = string_to_units( string );
g_free( string );
+ lgl_xml_set_default_units (prefs_model->units);
/* Page size */