[grisbi-cvs] grisbi/win32 win32utils.c, 1.13, 1.14 win32utils.h, 1.14, 1.15
Gunee
guneemwelloeux at users.sourceforge.net
Fri Jan 29 19:03:35 CET 2010
Update of /cvsroot/grisbi/grisbi/win32
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv9084/win32
Modified Files:
win32utils.c win32utils.h
Log Message:
Win : Reading GTK theme rules from custom file for better looks.
Index: win32utils.c
===================================================================
RCS file: /cvsroot/grisbi/grisbi/win32/win32utils.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- win32utils.c 6 Oct 2009 14:01:51 -0000 1.13
+++ win32utils.c 29 Jan 2010 18:03:33 -0000 1.14
@@ -28,6 +28,7 @@
#include <shlobj.h>
#include <stdio.h>
#include <stdlib.h>
+#include <gtk/gtk.h>
#include "win32utils.h"
@@ -796,6 +797,15 @@
g_free(syslocale_dir);
} /* }}} */
+void win32_parse_gtkrc (const gchar * basename){
+ gchar * gtkrc_file = g_strdelimit(g_strconcat(g_path_get_dirname ( grisbi_exe_path ),"\\",basename,NULL),
+ "\\",
+ '/');
+ gtk_rc_parse(gtkrc_file);
+ g_free ( gtkrc_file );
+}
+
+
// -------------------------------------------------------------------------
// End of WinUtils
// -------------------------------------------------------------------------
Index: win32utils.h
===================================================================
RCS file: /cvsroot/grisbi/grisbi/win32/win32utils.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- win32utils.h 23 Aug 2009 21:56:53 -0000 1.14
+++ win32utils.h 29 Jan 2010 18:03:33 -0000 1.15
@@ -60,9 +60,10 @@
extern gchar* win32_get_my_documents_folder_path (void);
extern gchar* win32_get_windows_folder_path (void);
extern gchar* win32_get_grisbirc_folder_path (void);
-extern void win32_set_app_path(gchar*);
+extern void win32_set_app_path (gchar*);
extern gchar* win32_app_subdir_folder_path (gchar*);
-extern gchar* win32_get_tmp_dir();
+extern gchar* win32_get_tmp_dir ();
+extern void win32_parse_gtkrc (const gchar* basename);
#define PIXMAPS_DIR win32_app_subdir_folder_path("pixmaps") /* pixmaps */
#define HELP_PATH win32_app_subdir_folder_path("help") /* help */
More information about the cvs
mailing list