[glide] Documents now take the default theme



commit 8878a47c4d70881507e0a6893d581ab8a2919f87
Author: Robert Carr <racarr Valentine localdomain>
Date:   Thu May 6 04:38:34 2010 -0400

    Documents now take the default theme

 libglide/glide-document.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libglide/glide-document.c b/libglide/glide-document.c
index e382c25..d2c54d1 100644
--- a/libglide/glide-document.c
+++ b/libglide/glide-document.c
@@ -32,6 +32,8 @@
 
 #include "glide-gtk-util.h"
 
+#include "glide.h"
+
 G_DEFINE_TYPE(GlideDocument, glide_document, G_TYPE_OBJECT)
 
 #define GLIDE_DOCUMENT_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE ((object), GLIDE_TYPE_DOCUMENT, GlideDocumentPrivate))
@@ -267,6 +269,7 @@ glide_document_init (GlideDocument *d)
   d->priv = GLIDE_DOCUMENT_GET_PRIVATE (d);
   
   glide_document_make_working_dir (d);
+  glide_document_set_theme (d, glide_get_default_theme ());
 }
 
 GlideDocument *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]