Add the blue back into the label

SVN revision: 28472
This commit is contained in:
titan 2007-02-25 04:47:38 +00:00 committed by titan
parent e069912a1c
commit dd4729e88a
2 changed files with 7 additions and 5 deletions

View File

@ -18,7 +18,7 @@ group
} }
description description
{ {
state: "blue" 0.0; state: "colored" 0.0;
color: 71 135 195 255; color: 71 135 195 255;
} }
} }
@ -55,7 +55,7 @@ group
} }
description description
{ {
state: "blue" 0.0; state: "colored" 0.0;
inherit: "default" 0.0; inherit: "default" 0.0;
text text
{ {
@ -73,10 +73,10 @@ group
{ {
program program
{ {
name: "blue"; name: "colored";
signal: "blue"; signal: "colored";
source: "*"; source: "*";
action: STATE_SET "blue" 0.0; action: STATE_SET "colored" 0.0;
target: "background"; target: "background";
target: "/ephoto/label/text"; target: "/ephoto/label/text";
} }

View File

@ -22,6 +22,8 @@ Ewl_Widget *add_normal_view(Ewl_Widget *c)
ewl_widget_show(em->fbox); ewl_widget_show(em->fbox);
em->ilabel = add_label(em->fbox_vbox, "Image Information"); em->ilabel = add_label(em->fbox_vbox, "Image Information");
ewl_object_fill_policy_set(EWL_OBJECT(em->ilabel), EWL_FLAG_FILL_HFILL);
ewl_widget_state_set(em->ilabel, "colored", EWL_STATE_PERSISTENT);
return em->fbox_vbox; return em->fbox_vbox;
} }