[gthumb] thumbnail list: make the selected images more highlighed
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] thumbnail list: make the selected images more highlighed
- Date: Mon, 8 Dec 2014 23:19:18 +0000 (UTC)
commit d353f38e561a75abdf8eb6598d4c7620a08b881d
Author: Paolo Bacchilega <paobac src gnome org>
Date: Mon Dec 8 18:25:32 2014 +0100
thumbnail list: make the selected images more highlighed
gthumb/gth-grid-view.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-grid-view.c b/gthumb/gth-grid-view.c
index 8c758a7..d5ee753 100644
--- a/gthumb/gth-grid-view.c
+++ b/gthumb/gth-grid-view.c
@@ -1472,13 +1472,17 @@ _gth_grid_view_item_draw_thumbnail (GthGridViewItem *item,
GdkRGBA color;
gtk_style_context_get_background_color (style_context, item_state, &color);
- cairo_set_source_rgba (cr, color.red, color.green, color.blue, 0.33);
+ cairo_set_source_rgba (cr, color.red, color.green, color.blue, 0.5);
cairo_rectangle (cr,
frame_rect.x,
frame_rect.y,
frame_rect.width,
frame_rect.height);
- cairo_fill (cr);
+ cairo_fill_preserve (cr);
+
+ cairo_set_line_width (cr, 2);
+ cairo_set_source_rgb (cr, color.red, color.green, color.blue);
+ cairo_stroke (cr);
}
gtk_style_context_restore (style_context);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]