Code

make the title bar of docked items darker
authorgustav_b <gustav_b@users.sourceforge.net>
Thu, 6 Sep 2007 00:25:17 +0000 (00:25 +0000)
committergustav_b <gustav_b@users.sourceforge.net>
Thu, 6 Sep 2007 00:25:17 +0000 (00:25 +0000)
src/libgdl/gdl-dock-item-grip.c

index 6dd55ae1efa8440de20b078abe7f273b38019394..8219e0327a08b2ac07a9cdf28a11c0f6ef9ed5f4 100644 (file)
@@ -138,6 +138,14 @@ gdl_dock_item_grip_expose (GtkWidget      *widget,
     grip = GDL_DOCK_ITEM_GRIP (widget);
     gdl_dock_item_grip_get_title_area (grip, &title_area);
 
+    /* draw darker a background */
+    gdk_draw_rectangle (GDK_DRAWABLE (widget->window),
+                        gtk_widget_get_style (widget)->mid_gc[widget->state],
+                        TRUE,
+                        1, 0,
+                        widget->allocation.width - 1,
+                        widget->allocation.height);
+
     if (grip->_priv->icon_pixbuf) {
         GdkRectangle pixbuf_rect;