On 10/23/2012 10:53 PM, Benjamin Deering wrote:
These are the changes I needed to make podboy work (apart from the audio-loop fix) with the latest SHR. I could not find a replacement for the elementary.list.add_callback_clicked, but it doesn't seem to matter.

Ben


This body part will be downloaded on demand.
Somehow the previous api_changes patch was missing changes for 1 file so podboy in SHR staging build 107 still doesn't work. It needs these changes in addition to the other patches.

Ben
Index: podboy/podboy.py
===================================================================
--- podboy/podboy.py	(revision 221)
+++ podboy/podboy.py	(working copy)
@@ -40,7 +40,7 @@
 
         self.win = elementary.Window(APP_NAME, elementary.ELM_WIN_BASIC)
         self.win.title_set(APP_NAME)
-        self.win.callback_destroy_add(self.quit)
+        self.win.callback_delete_request_add(self.quit) 
 
         if db.get_setting('display_finger_size') is not None:
             elementary.config_finger_size_set(db.get_setting('display_finger_size'))
@@ -66,7 +66,7 @@
 
         toolbar = elementary.Toolbar(self.win)
         toolbar.menu_parent_set(self.win)
-        toolbar.homogenous_set(False)
+        toolbar.homogeneous_set(False)
         toolbar.size_hint_align_set(-1.0, 0)
 
         self.toolbar_item_podcasts = toolbar.item_append('podcasts', "Podcasts", self.show_podcasts)
_______________________________________________
Shr-devel mailing list
Shr-devel@lists.shr-project.org
http://lists.shr-project.org/mailman/listinfo/shr-devel

Reply via email to