[gtk+/gtk-2-24-win32] win32: Default to MS-Windows theme
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24-win32] win32: Default to MS-Windows theme
- Date: Tue, 1 Nov 2011 16:30:05 +0000 (UTC)
commit 49d017dcb9bf7605fe391c4a1690b040b50af5ac
Author: Alexander Larsson <alexl redhat com>
Date: Tue Nov 1 14:23:44 2011 +0100
win32: Default to MS-Windows theme
It really makes little sense to not look like windows apps on windows.
If you really want you can change this via a .gtkrc-2.0 file
gtk/gtksettings.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index de96b91..f83a54b 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -292,7 +292,11 @@ gtk_settings_class_init (GtkSettingsClass *class)
g_param_spec_string ("gtk-theme-name",
P_("Theme Name"),
P_("Name of theme RC file to load"),
+#ifdef G_OS_WIN32
+ "MS-Windows",
+#else
"Raleigh",
+#endif
GTK_PARAM_READWRITE),
NULL);
g_assert (result == PROP_THEME_NAME);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]