From df3e3cccd2d44e2d2b069134216b408a058a0ec7 Mon Sep 17 00:00:00 2001 From: tiago Date: Thu, 29 Apr 2010 18:52:59 +0000 Subject: [PATCH] update mtime when save git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@48432 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_edit.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/lib/edje_edit.c b/src/lib/edje_edit.c index 38f7e72..90e4e65 100644 --- a/src/lib/edje_edit.c +++ b/src/lib/edje_edit.c @@ -7087,6 +7087,15 @@ _edje_edit_internal_save(Evas_Object *obj, int current_only) } eet_close(eetf); + + /* Update mtime */ + { + struct stat st; + if (stat(ed->path, &st) != 0) + return EINA_FALSE; + ef->mtime = st.st_mtime; + } + INF("*********** Saving DONE ******************"); return EINA_TRUE; } -- 2.7.4