commit f7503d3099b46f11d7470789b7ad93ecd178a3b4
Author: Adeodato Simó <[email protected]>
Date: Tue May 31 04:12:15 2011 +0100
python: add Itdb_Device::timezone_shift to the binding
This is done by including device->timezone_shift in sw_ipod_device_to_dict()
bindings/python/gpod.i.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/bindings/python/gpod.i.in b/bindings/python/gpod.i.in
index 6d62e84..b000af7 100644
--- a/bindings/python/gpod.i.in
+++ b/bindings/python/gpod.i.in
@@ -267,7 +267,7 @@ PyObject* sw_get_photo(GList *list, gint index) {
g_hash_table_foreach(device->sysinfo,
hash_table_to_pydict,
(gpointer) sysinfo);
- return Py_BuildValue("{s:s,s:i,s:i,s:O}",
+ return Py_BuildValue("{s:s,s:i,s:i,s:O,s:i}",
"mountpoint",
device->mountpoint,
"musicdirs",
@@ -275,7 +275,9 @@ PyObject* sw_get_photo(GList *list, gint index) {
"byte_order",
device->byte_order,
"sysinfo",
- sysinfo);
+ sysinfo,
+ "timezone_shift",
+ device->timezone_shift);
}
}
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide. Store less, Store more with what you own, Move data to
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2