summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2010-10-13 22:51:20 +0300
committerStefan Kost <ensonic@users.sf.net>2011-01-18 09:46:47 +0200
commit6478f60065f76c14a92d5f243052e05f907b47bc (patch)
tree1a2b36d98b92036377609fc6f13cc030d1623f54
parent2f5fe8788f1b9c5fa408e1ed24cb87edefc26d86 (diff)
ui: update element/bin color as we might initialy don't know
When adding bads, we assume that the parent is an element. For ghostpads it is a bin though.
-rw-r--r--src/ui/main-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/main-window.c b/src/ui/main-window.c
index 3d5fef9..eae0826 100644
--- a/src/ui/main-window.c
+++ b/src/ui/main-window.c
@@ -506,6 +506,7 @@ refresh_layout (GstTLMainWindow *self, GstTLRefreshMode mode)
g_object_set (item->ci_box,
"width", item->w,
"height", item->h,
+ "fill-color-rgba", (item->is_bin ? 0xeeeeec1e : 0x729fcf1e),
NULL);
if (item->ci_text) {
g_object_set (item->ci_text,