pop an error message about systray's ugliness when shelf style is invisible

SVN revision: 80653
This commit is contained in:
Mike Blumenkrantz 2012-12-11 12:47:10 +00:00
parent 83e7a0a401
commit b577c7e900
1 changed files with 3 additions and 0 deletions

View File

@ -493,6 +493,9 @@ _systray_base_create(Instance *inst)
unsigned short r, g, b;
const char *color;
if (inst->gcc->gadcon->shelf && (!e_util_strcmp(inst->gcc->gadcon->shelf->style, "invisible")))
e_util_dialog_internal (_("Systray Error"),
_("Systray cannot set its background invisible to match its shelf."));
color = edje_object_data_get(inst->ui.gadget, inst->gcc->style);
if (!color)
color = edje_object_data_get(inst->ui.gadget, "default");