forked from enlightenment/enlightenment
battery: set force_mode so dialog shows it.
SVN revision: 41495
This commit is contained in:
parent
5569d56971
commit
64e97e62a0
|
@ -53,6 +53,7 @@ _fill_data(E_Config_Dialog_Data *cfdata)
|
||||||
cfdata->alert_percent = battery_config->alert_p;
|
cfdata->alert_percent = battery_config->alert_p;
|
||||||
cfdata->poll_interval = battery_config->poll_interval;
|
cfdata->poll_interval = battery_config->poll_interval;
|
||||||
cfdata->alert_timeout = battery_config->alert_timeout;
|
cfdata->alert_timeout = battery_config->alert_timeout;
|
||||||
|
cfdata->force_mode = battery_config->force_mode;
|
||||||
|
|
||||||
if (cfdata->alert_time > 0 || cfdata->alert_percent > 0)
|
if (cfdata->alert_time > 0 || cfdata->alert_percent > 0)
|
||||||
cfdata->show_alert = 1;
|
cfdata->show_alert = 1;
|
||||||
|
|
Loading…
Reference in New Issue