forked from enlightenment/enlightenment
Use output name first instead of monitor name. Fall back to monitor
name if output has no name. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 82863
This commit is contained in:
parent
272907949e
commit
f518182cf8
|
@ -355,10 +355,14 @@ e_smart_monitor_setup(Evas_Object *obj)
|
|||
E_Randr_Monitor_Info *monitor = NULL;
|
||||
const char *name = NULL;
|
||||
|
||||
name = sd->output->name;
|
||||
if (!name)
|
||||
{
|
||||
if ((monitor = sd->output->monitor))
|
||||
name = ecore_x_randr_edid_display_name_get(monitor->edid,
|
||||
monitor->edid_length);
|
||||
if (!name) name = sd->output->name;
|
||||
}
|
||||
|
||||
edje_object_part_text_set(sd->o_frame, "e.text.name", name);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue