gvfs r1906 - in trunk: . daemon
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1906 - in trunk: . daemon
- Date: Mon, 25 Aug 2008 10:01:26 +0000 (UTC)
Author: hadess
Date: Mon Aug 25 10:01:26 2008
New Revision: 1906
URL: http://svn.gnome.org/viewvc/gvfs?rev=1906&view=rev
Log:
2008-08-25 Bastien Nocera <hadess hadess net>
* daemon/gvfsbackenddav.c (ms_response_to_file_info):
Same as below but for the webdav's getlastmodified
response (Closes: #538573)
Modified:
trunk/ChangeLog
trunk/daemon/gvfsbackenddav.c
Modified: trunk/daemon/gvfsbackenddav.c
==============================================================================
--- trunk/daemon/gvfsbackenddav.c (original)
+++ trunk/daemon/gvfsbackenddav.c Mon Aug 25 10:01:26 2008
@@ -877,9 +877,16 @@
}
else if (node_has_name (node, "getlastmodified"))
{
- if (g_time_val_from_iso8601 (text, &tv))
- g_file_info_set_modification_time (info, &tv);
- }
+ SoupDate *sd;
+ GTimeVal tv;
+ sd = soup_date_new_from_string(text);
+ if (sd)
+ {
+ soup_date_to_timeval (sd, &tv);
+ g_file_info_set_modification_time (info, &tv);
+ soup_date_free (sd);
+ }
+ }
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]