Set show/hide text when we create the module so that theme switching will

retain the users preference.


SVN revision: 28360
This commit is contained in:
Christopher Michael 2007-02-14 11:48:28 +00:00
parent ac2acfd8c0
commit cb3c3c00ff
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
_cb_mouse_out, inst);
evas_object_show(inst->o_net);
if (!ci->show_text)
edje_object_signal_emit(inst->o_net, "e,state,text,hide", "e");
else
edje_object_signal_emit(inst->o_net, "e,state,text,show", "e");
gcc = e_gadcon_client_new(gc, name, id, style, inst->o_net);
gcc->data = inst;
inst->gcc = gcc;