also disable slider if label is disabled.

this is actually weird, maybe we should disable the whole
configuration dialog if there is no screensaver? I just noticed these
problems since I missed to install libxss-dev :-(



SVN revision: 40154
This commit is contained in:
Gustavo Sverzut Barbieri 2009-04-17 22:59:13 +00:00
parent e812630caa
commit c57f789948
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ _basic_create(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata)
e_widget_framelist_object_append(of, ow);
ow = e_widget_slider_add(evas, 1, 0, _("%1.0f minutes"), 1.0, 90.0, 1.0, 0,
&(cfdata->idle_time), NULL, 100);
e_widget_disabled_set(ow, !cfdata->use_xscreensaver);
e_widget_framelist_object_append(of, ow);
e_widget_list_object_append(o, of, 1, 1, 0.5);
return o;