GtkWidget::interior_focus = 1
GtkOptionMenu::indicator_size = { 9, 5 }
GtkOptionMenu::indicator_spacing = { 7, 5, 2, 2 }
- GtkMenuBar::shadow-type = etched-in
GtkToolbar::shadow-type = etched-in
GtkHandleBox::shadow-type = etched-in
GtkSpinButton::shadow-type = in
"style \"msw-menu-bar\" = \"msw-menu\"\n"
"{\n"
"bg[NORMAL] = { %d, %d, %d }\n"
+ "GtkMenuBar::shadow-type = etched-in\n"
"}widget_class \"*MenuBar*\" style \"msw-menu-bar\"\n",
btn_face.red,
btn_face.green,
#endif\r
\r
static GModule * this_module = NULL;\r
-static void (*msw_reset_rc_styles) (GtkSettings * settings) = NULL;\r
+static void (*msw_rc_reset_styles) (GtkSettings * settings) = NULL;\r
\r
static GdkFilterReturn\r
global_filter_func (void *xevent,\r
case WM_THEMECHANGED:\r
case WM_SYSCOLORCHANGE:\r
\r
- if(msw_reset_rc_styles != NULL) {\r
- xp_theme_reset ();\r
- msw_style_init ();\r
+ if(msw_rc_reset_styles != NULL) {\r
+ xp_theme_reset ();\r
+ msw_style_init ();\r
\r
- /* force all gtkwidgets to redraw */\r
- (*msw_reset_rc_styles) (gtk_settings_get_default());\r
- }\r
+ /* force all gtkwidgets to redraw */\r
+ (*msw_rc_reset_styles) (gtk_settings_get_default());\r
+ }\r
\r
return GDK_FILTER_REMOVE;\r
\r
\r
if(this_module)\r
g_module_symbol (this_module, "gtk_rc_reset_styles",\r
- (gpointer *)(&msw_reset_rc_styles));\r
+ (gpointer *)(&msw_rc_reset_styles));\r
}\r
\r
msw_style_init ();\r
* is loaded and checks to see if we are compatible with the\r
* version of GTK+ that loads us.\r
*/\r
-G_MODULE_EXPORT const gchar* g_module_check_init (GModule *module);\r
-const gchar*\r
+G_MODULE_EXPORT const gchar*\r
g_module_check_init (GModule *module)\r
{\r
return gtk_check_version (2,0,0);\r