From e8ffec6b288bd62755d354b3a9bd666a123fee1d Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 20 Jul 2009 08:12:41 +0200 Subject: [PATCH] Don't use bold, borderless frames on Win32 --- midori/sokoke.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/midori/sokoke.c b/midori/sokoke.c index 6654eedc..a663f3ec 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -519,12 +519,16 @@ sokoke_hig_frame_new (const gchar* title) { /* Create a frame with no actual frame but a bold label and indentation */ GtkWidget* frame = gtk_frame_new (NULL); + #ifdef G_OS_WIN32 + gtk_frame_set_label (GTK_FRAME (frame), title); + #else gchar* title_bold = g_strdup_printf ("%s", title); GtkWidget* label = gtk_label_new (NULL); gtk_label_set_markup (GTK_LABEL (label), title_bold); g_free (title_bold); gtk_frame_set_label_widget (GTK_FRAME (frame), label); gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_NONE); + #endif return frame; } -- 2.39.5