rhythmbox r5549 - in trunk: . bindings/python



Author: jmatthew
Date: Sat Jan 19 05:19:41 2008
New Revision: 5549
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5549&view=rev

Log:
2008-01-19  Jonathan Matthew  <jonathan d14n org>

	* bindings/python/rhythmdb.defs:
	Add bindings for property ID <-> element name translation methods.


Modified:
   trunk/ChangeLog
   trunk/bindings/python/rhythmdb.defs

Modified: trunk/bindings/python/rhythmdb.defs
==============================================================================
--- trunk/bindings/python/rhythmdb.defs	(original)
+++ trunk/bindings/python/rhythmdb.defs	Sat Jan 19 05:19:41 2008
@@ -753,6 +753,23 @@
   )
 )
 
+(define-method nice_elt_name_from_propid
+  (of-object "RhythmDB")
+  (c-name "rhythmdb_nice_elt_name_from_propid")
+  (return-type "const-char*")
+  (parameters
+    '("RhythmDBPropType" "propid")
+  )
+)
+
+(define-method propid_from_nice_elt_name
+  (of-object "RhythmDB")
+  (c-name "rhythmdb_propid_from_nice_elt_name")
+  (return-type "RhythmDBPropType")
+  (parameters
+    '("const-char*" "name")
+  )
+)
 
 ;; From ../../rhythmdb/rhythmdb-property-model.h
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]