? engines/Makefile
? engines/Makefile.in
? engines/clearlooks/Makefile
? engines/clearlooks/Makefile.in
? engines/crux/pixmaps/Makefile
? engines/crux/pixmaps/Makefile.in
? engines/crux/src/config.h
? engines/crux/src/stamp-h1
? engines/hc/Makefile
? engines/hc/Makefile.in
? engines/industrial/Makefile
? engines/industrial/Makefile.in
? engines/lighthouseblue/Makefile
? engines/lighthouseblue/Makefile.in
? engines/metal/Makefile
? engines/metal/Makefile.in
? engines/mist/Makefile
? engines/mist/Makefile.in
? engines/redmond/Makefile
? engines/redmond/Makefile.in
? engines/smooth/Makefile
? engines/smooth/Makefile.in
? engines/smooth/src/config.h
? engines/smooth/src/stamp-h2
? engines/thinice/Makefile
? engines/thinice/Makefile.in
? themes/Makefile
? themes/Makefile.in
? themes/Clearlooks/Makefile
? themes/Clearlooks/Makefile.in
? themes/Clearlooks/gtk-2.0/Makefile
? themes/Clearlooks/gtk-2.0/Makefile.in
? themes/Crux/Makefile
? themes/Crux/Makefile.in
? themes/Crux/gtk-2.0/Makefile
? themes/Crux/gtk-2.0/Makefile.in
? themes/Industrial/Makefile
? themes/Industrial/Makefile.in
? themes/Industrial/gtk-2.0/Makefile
? themes/Industrial/gtk-2.0/Makefile.in
? themes/LighthouseBlue/Makefile
? themes/LighthouseBlue/Makefile.in
? themes/LighthouseBlue/gtk-2.0/Makefile
? themes/LighthouseBlue/gtk-2.0/Makefile.in
? themes/Metal/Makefile
? themes/Metal/Makefile.in
? themes/Metal/gtk-2.0/Makefile
? themes/Metal/gtk-2.0/Makefile.in
? themes/Mist/Makefile
? themes/Mist/Makefile.in
? themes/Mist/gtk-2.0/Makefile
? themes/Mist/gtk-2.0/Makefile.in
? themes/Redmond/Makefile
? themes/Redmond/Makefile.in
? themes/Redmond/gtk/Makefile
? themes/Redmond/gtk/Makefile.in
? themes/Redmond/gtk-2.0/Makefile
? themes/Redmond/gtk-2.0/Makefile.in
? themes/ThinIce/Makefile
? themes/ThinIce/Makefile.in
? themes/ThinIce/gtk-2.0/Makefile
? themes/ThinIce/gtk-2.0/Makefile.in
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtk-engines/ChangeLog,v
retrieving revision 1.140
diff -u -r1.140 ChangeLog
--- ChangeLog	2 Jan 2006 00:37:05 -0000	1.140
+++ ChangeLog	3 Jan 2006 12:46:40 -0000
@@ -1,3 +1,11 @@
+2006-01-03  Benjamin Berg  <benjamin@sipsolutions.net>
+
+	* engines/hc/src/hc-style.c: (hc_draw_flat_box),
+	(hc_style_class_init):
+	Add a hc_draw_flat_box function, that calls the gtk_paint_box
+	function for tooltips to avoid the hardcoded black border that
+	the default engine uses. Closes bug #318151.
+
 2006-01-02  Richard Stellingwerff  <remenic@gmail.com>
 
 	* engines/clearlooks/src/clearlooks_style.c: (draw_arrow):
Index: engines/hc/src/hc-style.c
===================================================================
RCS file: /cvs/gnome/gtk-engines/engines/hc/src/hc-style.c,v
retrieving revision 1.2
diff -u -r1.2 hc-style.c
--- engines/hc/src/hc-style.c	21 Dec 2005 22:04:13 -0000	1.2
+++ engines/hc/src/hc-style.c	3 Jan 2006 12:46:44 -0000
@@ -953,6 +953,28 @@
 	      x, y, width, height);
 }
 
+
+static void
+hc_draw_flat_box (GtkStyle	*style,
+                  GdkWindow	*window,
+                  GtkStateType	 state_type,
+                  GtkShadowType	 shadow_type,
+                  GdkRectangle	*area,
+                  GtkWidget	*widget,
+                  const gchar	*detail,
+                  gint		 x,
+                  gint		 y,
+                  gint		 width,
+                  gint		 height)
+{
+  if (detail && !strcmp ("tooltip", detail))
+    gtk_paint_box (style, window, state_type, shadow_type, area,
+                   widget, detail, x, y, width, height);
+  else
+    parent_class->draw_flat_box (style, window, state_type, shadow_type, area,
+                                 widget, detail, x, y, width, height);
+}
+
 static void 
 hc_draw_box_gap (GtkStyle       *style,
 		 GdkWindow      *window,
@@ -1601,6 +1623,7 @@
   style_class->draw_tab = hc_draw_tab;
   style_class->draw_shadow_gap = hc_draw_shadow_gap;
   style_class->draw_arrow = hc_draw_arrow;
+  style_class->draw_flat_box = hc_draw_flat_box;
   style_class->draw_box_gap = hc_draw_box_gap;
   style_class->draw_handle = hc_draw_handle;  
   style_class->draw_hline = hc_draw_hline; 
