+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
+
/*
* (GLABELS) Label and Business Card Creation program for GNOME
*
#define __PREFS_MODEL_H__
#include <glib-object.h>
-#include <gtk/gtkenums.h>
#include <gconf/gconf-client.h>
-#include <libgnomeprint/gnome-font.h>
+#include <pango/pango.h>
#include <libglabels/enums.h>
G_BEGIN_DECLS
GConfClient *gconf_client;
/* Units */
- glUnitsType units;
+ lglUnitsType units;
/* Page size */
gchar *default_page_size;
/* Text properties */
gchar *default_font_family;
gdouble default_font_size;
- GnomeFontWeight default_font_weight;
+ PangoWeight default_font_weight;
gboolean default_font_italic_flag;
guint default_text_color;
- GtkJustification default_text_alignment;
+ PangoAlignment default_text_alignment;
gdouble default_text_line_spacing;
/* Line properties */
/* User Interface/Main Toolbar */
gboolean main_toolbar_visible;
glToolbarSetting main_toolbar_buttons_style;
- gboolean main_toolbar_view_tooltips;
/* User Interface/Drawing Toolbar */
gboolean drawing_toolbar_visible;
- gboolean drawing_toolbar_view_tooltips;
/* User Interface/Property Toolbar */
gboolean property_toolbar_visible;
- gboolean property_toolbar_view_tooltips;
/* View properties */
gboolean grid_visible;
/* Recent files */
gint max_recents;
+
+ /* Recent templates */
+ GSList *recent_templates;
+ gint max_recent_templates;
};
struct _glPrefsModelClass {