[gnome-builder] gstyle: show HEX6 color in palette widget swatchs
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] gstyle: show HEX6 color in palette widget swatchs
- Date: Mon, 18 Jul 2016 00:21:28 +0000 (UTC)
commit d2d94f1c136d3f7b2a4835872abcec6baa5d0a9a
Author: Sebastien Lafargue <slafargue gnome org>
Date: Thu Jul 14 17:00:25 2016 +0200
gstyle: show HEX6 color in palette widget swatchs
Like in list mode, we show color code
(here HEX6 due to the reduce place)
in swatch mode.
contrib/gstyle/gstyle-palette-widget.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/contrib/gstyle/gstyle-palette-widget.c b/contrib/gstyle/gstyle-palette-widget.c
index 5451c65..eb50bd0 100644
--- a/contrib/gstyle/gstyle-palette-widget.c
+++ b/contrib/gstyle/gstyle-palette-widget.c
@@ -576,7 +576,8 @@ create_palette_flow_item (gpointer item,
"color", color,
"visible", TRUE,
"name-visible", FALSE,
- "fallback-name-visible", FALSE,
+ "fallback-name-kind", GSTYLE_COLOR_KIND_RGB_HEX6,
+ "fallback-name-visible", TRUE,
"tooltip-text", tooltip,
"width-request", 64,
"height-request", 64,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]