[Commits] main.c 1.115.2.267 1.115.2.268 prefs_common.c 1.204.2.214 1.204.2.215 prefs_common.h 1.103.2.143 1.103.2.144

colin at claws-mail.org colin at claws-mail.org
Sat Feb 16 11:35:16 CET 2013


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv19571/src

Modified Files:
      Tag: gtk2
	main.c prefs_common.c prefs_common.h 
Log Message:
2013-02-16 [colin]	3.9.0cvs70

	* src/main.c
	* src/prefs_common.c
	* src/prefs_common.h
	* src/common/defs.h
	* src/common/w32_account.c
		Add an hidden preference to set the Windows theme
	* src/plugins/Makefile.am
	* src/plugins/rssyl/Makefile.am
	* src/plugins/rssyl/claws.def
	* src/plugins/rssyl/date.c
	* src/plugins/rssyl/date.h
	* src/plugins/rssyl/feed.c
	* src/plugins/rssyl/feed.h
	* src/plugins/rssyl/feedprops.c
	* src/plugins/rssyl/feedprops.h
	* src/plugins/rssyl/opml.c
	* src/plugins/rssyl/opml.h
	* src/plugins/rssyl/parsers.c
	* src/plugins/rssyl/parsers.h
	* src/plugins/rssyl/placeholder.txt
	* src/plugins/rssyl/plugin.c
	* src/plugins/rssyl/plugin.def
	* src/plugins/rssyl/rssyl.c
	* src/plugins/rssyl/rssyl.h
	* src/plugins/rssyl/rssyl_cb_gtk.c
	* src/plugins/rssyl/rssyl_cb_gtk.h
	* src/plugins/rssyl/rssyl_cb_menu.c
	* src/plugins/rssyl/rssyl_cb_menu.h
	* src/plugins/rssyl/rssyl_gtk.c
	* src/plugins/rssyl/rssyl_gtk.h
	* src/plugins/rssyl/rssyl_prefs.c
	* src/plugins/rssyl/rssyl_prefs.h
	* src/plugins/rssyl/strreplace.c
	* src/plugins/rssyl/strreplace.h
	* src/plugins/rssyl/version.rc
		Add RSSyl
	* src/plugins/vcalendar/Makefile.am
	* src/plugins/vcalendar/Makefile.in
	* src/plugins/vcalendar/plugin.c
	* src/plugins/vcalendar/libical/libical/icalversion.h
		Fix Curl flags :)

Index: main.c
===================================================================
RCS file: /home/claws-mail/claws/src/main.c,v
retrieving revision 1.115.2.267
retrieving revision 1.115.2.268
diff -u -d -r1.115.2.267 -r1.115.2.268
--- main.c	2 Dec 2012 20:39:02 -0000	1.115.2.267
+++ main.c	16 Feb 2013 10:35:14 -0000	1.115.2.268
@@ -1355,6 +1355,15 @@
 	prefs_spelling_init();
 #endif
 
+#ifdef G_OS_WIN32
+	if(strcmp(prefs_common.gtk_theme, DEFAULT_W32_GTK_THEME))
+		gtk_settings_set_string_property(gtk_settings_get_default(),
+			"gtk-theme-name",
+			prefs_common.gtk_theme,
+			"XProperty");
+#endif
+
+
 	sock_set_io_timeout(prefs_common.io_timeout_secs);
 	prefs_actions_read_config();
 	prefs_display_header_read_config();

Index: prefs_common.c
===================================================================
RCS file: /home/claws-mail/claws/src/prefs_common.c,v
retrieving revision 1.204.2.214
retrieving revision 1.204.2.215
diff -u -d -r1.204.2.214 -r1.204.2.215
--- prefs_common.c	27 Nov 2012 10:12:11 -0000	1.204.2.214
+++ prefs_common.c	16 Feb 2013 10:35:14 -0000	1.204.2.215
@@ -839,6 +839,9 @@
 #ifndef G_OS_WIN32
 	{"uri_open_command", DEFAULT_BROWSER_CMD,
 	 &SPECIFIC_PREFS.uri_cmd, P_STRING, NULL, NULL, NULL},
+#else
+	{"gtk_theme", DEFAULT_W32_GTK_THEME,
+	 &SPECIFIC_PREFS.gtk_theme, P_STRING, NULL, NULL, NULL},
 #endif
 	{"ext_editor_command", DEFAULT_EDITOR_CMD,
 	 &SPECIFIC_PREFS.ext_editor_cmd, P_STRING, NULL, NULL, NULL},

Index: prefs_common.h
===================================================================
RCS file: /home/claws-mail/claws/src/prefs_common.h,v
retrieving revision 1.103.2.143
retrieving revision 1.103.2.144
diff -u -d -r1.103.2.143 -r1.103.2.144
--- prefs_common.h	27 Nov 2012 10:12:11 -0000	1.103.2.143
+++ prefs_common.h	16 Feb 2013 10:35:14 -0000	1.103.2.144
@@ -378,6 +378,7 @@
 	/* Other */
 #ifndef G_OS_WIN32
 	gchar *uri_cmd;
+	gchar *gtk_theme;
 #endif
 	gchar *ext_editor_cmd;
 	gboolean cmds_use_system_default;



More information about the Commits mailing list