summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgustav_b <gustav_b@users.sourceforge.net>2007-09-06 00:25:17 +0000
committergustav_b <gustav_b@users.sourceforge.net>2007-09-06 00:25:17 +0000
commitc5882c01529cde557c5719a51ba56c9bc7346a06 (patch)
tree418dec5ffe068d4cd7c8ab4583d81d1ef71e0451 /src
parentadd path effect indication to the description (diff)
downloadinkscape-c5882c01529cde557c5719a51ba56c9bc7346a06.tar.gz
inkscape-c5882c01529cde557c5719a51ba56c9bc7346a06.zip
make the title bar of docked items darker
(bzr r3691)
Diffstat (limited to 'src')
-rw-r--r--src/libgdl/gdl-dock-item-grip.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libgdl/gdl-dock-item-grip.c b/src/libgdl/gdl-dock-item-grip.c
index 6dd55ae1e..8219e0327 100644
--- a/src/libgdl/gdl-dock-item-grip.c
+++ b/src/libgdl/gdl-dock-item-grip.c
@@ -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;