forked from enlightenment/enlightenment
pointed out by Igor Murzov - fixed backlight thing, gadcon is cleaner.
SVN revision: 77980
This commit is contained in:
parent
76dc9409d5
commit
53ad992c31
|
@ -491,13 +491,11 @@ _bl_sys_find(void)
|
||||||
EINA_LIST_FOREACH(pdevs, l, f)
|
EINA_LIST_FOREACH(pdevs, l, f)
|
||||||
{
|
{
|
||||||
bl_devs = eina_list_append(bl_devs, eina_stringshare_add(f));
|
bl_devs = eina_list_append(bl_devs, eina_stringshare_add(f));
|
||||||
if (!bl_sysval)
|
if (!bl_sysval)
|
||||||
{
|
{
|
||||||
if ((e_config->backlight.sysdev) &&
|
if ((e_config->backlight.sysdev) &&
|
||||||
(!strcmp(e_config->backlight.sysdev, f)))
|
(!strcmp(e_config->backlight.sysdev, f)))
|
||||||
bl_sysval = eina_stringshare_add(f);
|
bl_sysval = eina_stringshare_add(f);
|
||||||
else
|
|
||||||
bl_sysval = eina_stringshare_add(f);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!bl_sysval)
|
if (!bl_sysval)
|
||||||
|
|
|
@ -2984,14 +2984,8 @@ _e_gadcon_cb_dnd_move(void *data, const char *type __UNUSED__, void *event)
|
||||||
|
|
||||||
o = gcc->o_frame ? gcc->o_frame : gcc->o_base;
|
o = gcc->o_frame ? gcc->o_frame : gcc->o_base;
|
||||||
if (o)
|
if (o)
|
||||||
{
|
e_gadcon_layout_pack_request_set(o, gcc->config.pos,
|
||||||
if (e_gadcon_layout_orientation_get(gc->o_container))
|
gcc->config.size);
|
||||||
e_gadcon_layout_pack_request_set(o, gcc->config.pos,
|
|
||||||
gcc->config.size);
|
|
||||||
else
|
|
||||||
e_gadcon_layout_pack_request_set(o, gcc->config.pos,
|
|
||||||
gcc->config.size);
|
|
||||||
}
|
|
||||||
e_gadcon_layout_thaw(gc->o_container);
|
e_gadcon_layout_thaw(gc->o_container);
|
||||||
if (gc->dnd_move_cb) gc->dnd_move_cb(gc, gcc);
|
if (gc->dnd_move_cb) gc->dnd_move_cb(gc, gcc);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue