[murrine] Fixed GtkNotebook with textstyle = 1
- From: Andrea Cimitan <acimitan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [murrine] Fixed GtkNotebook with textstyle = 1
- Date: Fri, 19 Mar 2010 01:08:42 +0000 (UTC)
commit f15ca80f121386514c1a53af4b9b43acaefcb1bd
Author: Andrea <andrea cimitan gmail com>
Date: Fri Mar 19 02:08:22 2010 +0100
Fixed GtkNotebook with textstyle = 1
src/murrine_style.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/murrine_style.c b/src/murrine_style.c
index ae42f47..9ea78f2 100644
--- a/src/murrine_style.c
+++ b/src/murrine_style.c
@@ -1987,7 +1987,8 @@ murrine_style_draw_layout (GtkStyle *style,
!MRN_IS_COMBO_BOX(widget->parent) &&
!MRN_IS_COMBO_BOX_ENTRY(widget->parent) &&
!MRN_IS_COMBO(widget->parent) &&
- !MRN_IS_OPTION_MENU(widget->parent)) ||
+ !MRN_IS_OPTION_MENU(widget->parent) &&
+ !MRN_IS_NOTEBOOK(widget->parent)) ||
MRN_IS_CHECK_BUTTON(widget->parent) ||
MRN_IS_RADIO_BUTTON(widget->parent) ||
(relief == GTK_RELIEF_NONE && state_type == GTK_STATE_NORMAL)))
@@ -2002,6 +2003,8 @@ murrine_style_draw_layout (GtkStyle *style,
etched.blue = (int) (temp.b*65535);
gdk_draw_layout_with_colors (window, gc, x, y+1, layout, &etched, NULL);
+
+ //printf( "draw_layout: %s %s\n", detail, G_OBJECT_TYPE_NAME (widget->parent));
}
gdk_draw_layout (window, gc, x, y, layout);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]