[Rhythmbox-devel] 0.13.2 to 0.13.3 API change for plugins
- From: ikwyl6 gmail com
- To: rhythmbox-devel gnome org
- Subject: [Rhythmbox-devel] 0.13.2 to 0.13.3 API change for plugins
- Date: Thu, 9 Feb 2012 23:38:49 -0400
One of my plugins works fine with pre 0.13 rhythmbox and I recently upgraded to 0.13.3.
Upon using 0.13.3 I have found that my plugin does not work on the following line:
shell.get_property("selected_source")
I'd like everyone to use this plugin if they have a pre-0.13.2 version and newer. What is the best way to do this? I'm pretty new to python but how can I get the version of rhythmbox to check the two different versions in if blocks to run if it is pre-0.13.2 and post-0.13.2?
Alternatively, I see there is a mimic pre-processor (
http://code.google.com/p/pypreprocessor/) that may do what I want but how do I check for the version of rhythmbox using this macro, what is the macro name for the rhythmbox version?
Thanks for your help.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]