summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-08 21:24:28 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-13 15:05:42 +0100
commite5708b8799ecd7b74b0c6d890677c0281b762cee (patch)
tree1020de35389658cf0e9a1c820105911544170fc7
parent6a19cea2b87a4977a70b1bd6e14edb09a5ebde62 (diff)
downloadcaja-e5708b8799ecd7b74b0c6d890677c0281b762cee.tar.bz2
caja-e5708b8799ecd7b74b0c6d890677c0281b762cee.tar.xz
GTK3 icon-container: fix rendering of text on the desktop
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=2e5f7a2
-rw-r--r--libcaja-private/caja-icon-container.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index 645e76ba..203f1b8e 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -2884,7 +2884,7 @@ start_rubberbanding (CajaIconContainer *container,
CajaIconContainerDetails *details;
CajaIconRubberbandInfo *band_info;
#if GTK_CHECK_VERSION(3,0,0)
- GdkRGBA *fill_color_gdk, color;
+ GdkRGBA *fill_color_gdk, outline, color;
GList *p;
CajaIcon *icon;
GtkStyleContext *style;
@@ -2930,6 +2930,9 @@ start_rubberbanding (CajaIconContainer *container,
fill_color_gdk->alpha = 0.25;
}
+ outline = *fill_color_gdk;
+ eel_make_color_inactive (&outline);
+
band_info->selection_rectangle = eel_canvas_item_new
(eel_canvas_root
(EEL_CANVAS (container)),
@@ -2939,7 +2942,7 @@ start_rubberbanding (CajaIconContainer *container,
"x2", band_info->start_x,
"y2", band_info->start_y,
"fill_color_rgba", fill_color_gdk,
- "outline_color_rgba", fill_color_gdk,
+ "outline_color_rgba", &outline,
"width_pixels", 1,
NULL);