whoops, forgot to give transparent tooltip an alpha channel

SVN revision: 61812
This commit is contained in:
Mike Blumenkrantz 2011-07-27 19:09:50 +00:00
parent 3957a809f4
commit 51491fbbae
1 changed files with 8 additions and 2 deletions

View File

@ -282,9 +282,15 @@ _elm_tooltip_reconfigure(Elm_Tooltip *tt)
if (tt->tt_win)
{ /* FIXME: hardcoded here is bad */
if (!strcmp(style, "transparent"))
elm_win_transparent_set(tt->tt_win, EINA_TRUE);
{
elm_win_alpha_set(tt->tt_win, EINA_TRUE);
elm_win_transparent_set(tt->tt_win, EINA_TRUE);
}
else
elm_win_transparent_set(tt->tt_win, EINA_FALSE);
{
elm_win_alpha_set(tt->tt_win, EINA_FALSE);
elm_win_transparent_set(tt->tt_win, EINA_FALSE);
}
}
str = edje_object_data_get(tt->tooltip, "pad_x");