only use elm win title for internal windows if it has been set

This commit is contained in:
Mike Blumenkrantz 2014-12-14 15:40:25 -05:00
parent ec64288d4f
commit f3f3cedd03
1 changed files with 5 additions and 1 deletions

View File

@ -87,9 +87,13 @@ _e_elm_win_trap_show(void *data, Evas_Object *o)
{
E_Pixmap *cp;
E_Comp *c = NULL;
const char *title;
ecore_evas_name_class_set(ee, "E", "_e_internal_window");
ecore_evas_title_set(ee, elm_win_title_get(o));
title = elm_win_title_get(o);
if ((!title) || (!title[0]))
title = "E";
ecore_evas_title_set(ee, title);
cp = e_pixmap_new(type, win);
EINA_SAFETY_ON_NULL_RETURN_VAL(cp, EINA_TRUE);