From a6e2c24b60841616d442c2a0efb9e6e240d0cf7a Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Tue, 17 Mar 1998 15:13:17 +0000 Subject: [PATCH] fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin Tue Mar 17 12:36:35 1998 Tim Janik * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing GTK_ARROW_LEFT, correction from Damon Chaplin . --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkstyle.c | 4 ++-- gtk/testgtkrc | 1 + tests/testgtkrc | 1 + 10 files changed, 39 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fed21a30c8..1fb49bc1f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 17 12:36:35 1998 Tim Janik + + * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing + GTK_ARROW_LEFT, correction from Damon Chaplin . + Tue Mar 17 02:02:02 1998 Miguel de Icaza * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index fed21a30c8..1fb49bc1f8 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Tue Mar 17 12:36:35 1998 Tim Janik + + * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing + GTK_ARROW_LEFT, correction from Damon Chaplin . + Tue Mar 17 02:02:02 1998 Miguel de Icaza * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index fed21a30c8..1fb49bc1f8 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Tue Mar 17 12:36:35 1998 Tim Janik + + * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing + GTK_ARROW_LEFT, correction from Damon Chaplin . + Tue Mar 17 02:02:02 1998 Miguel de Icaza * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index fed21a30c8..1fb49bc1f8 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Tue Mar 17 12:36:35 1998 Tim Janik + + * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing + GTK_ARROW_LEFT, correction from Damon Chaplin . + Tue Mar 17 02:02:02 1998 Miguel de Icaza * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index fed21a30c8..1fb49bc1f8 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Tue Mar 17 12:36:35 1998 Tim Janik + + * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing + GTK_ARROW_LEFT, correction from Damon Chaplin . + Tue Mar 17 02:02:02 1998 Miguel de Icaza * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index fed21a30c8..1fb49bc1f8 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Tue Mar 17 12:36:35 1998 Tim Janik + + * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing + GTK_ARROW_LEFT, correction from Damon Chaplin . + Tue Mar 17 02:02:02 1998 Miguel de Icaza * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index fed21a30c8..1fb49bc1f8 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Tue Mar 17 12:36:35 1998 Tim Janik + + * gtk/gtkstyle.c (gtk_default_draw_arrow): fixed a bug about drawing + GTK_ARROW_LEFT, correction from Damon Chaplin . + Tue Mar 17 02:02:02 1998 Miguel de Icaza * gdk/gdk.c (gdk_dnd_drag_leave): Use StructureNotifyMaskMask as diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 9aa87de2ac..d445111c7e 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -1420,10 +1420,10 @@ gtk_default_draw_arrow (GtkStyle *style, gdk_draw_line (window, gc4, x + width - 1, y + 1, - x + 1, y + half_width); + x + 1, y + half_height); gdk_draw_line (window, gc2, x + width - 1, y, - x, y + half_width); + x, y + half_height); break; case GTK_ARROW_RIGHT: if (fill) diff --git a/gtk/testgtkrc b/gtk/testgtkrc index 566c663831..fc4c100480 100644 --- a/gtk/testgtkrc +++ b/gtk/testgtkrc @@ -14,6 +14,7 @@ style "default" { fontset = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*" # base[NORMAL] = { 0.8, 0.8, 1.0 } +# bg_pixmap[NORMAL] = "marble.xpm" } style "window" diff --git a/tests/testgtkrc b/tests/testgtkrc index 566c663831..fc4c100480 100644 --- a/tests/testgtkrc +++ b/tests/testgtkrc @@ -14,6 +14,7 @@ style "default" { fontset = "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*,*" # base[NORMAL] = { 0.8, 0.8, 1.0 } +# bg_pixmap[NORMAL] = "marble.xpm" } style "window"