From 393f23c1666c2f16ad31a9a093c51f666bfe57b0 Mon Sep 17 00:00:00 2001 From: raster Date: Thu, 28 Jul 2011 10:28:55 +0000 Subject: [PATCH] fix file selector get is _save. never worked! git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61848 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elc_fileselector.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c index 9d6e1a3..9381e53 100644 --- a/src/lib/elc_fileselector.c +++ b/src/lib/elc_fileselector.c @@ -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 -- 2.7.4