fix file selector get is _save. never worked!

SVN revision: 61848
This commit is contained in:
Carsten Haitzler 2011-07-28 10:28:55 +00:00
parent fb13968e89
commit ddced6c6e9
1 changed files with 2 additions and 1 deletions

View File

@ -937,6 +937,7 @@ elm_fileselector_is_save_set(Evas_Object *obj,
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
printf("%i\n", is_save);
elm_object_disabled_set(wd->filename_entry, !is_save);
if (is_save)
@ -951,7 +952,7 @@ elm_fileselector_is_save_get(const Evas_Object *obj)
ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE;
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return EINA_FALSE;
return elm_object_disabled_get(wd->filename_entry);
return !elm_object_disabled_get(wd->filename_entry);
}
EAPI void