0.5.3-4 extras-devel version
authorYves <ymarcoz@n900-sdk.(none)>
Tue, 23 Mar 2010 14:55:43 +0000 (07:55 -0700)
committerYves <ymarcoz@n900-sdk.(none)>
Tue, 23 Mar 2010 14:55:43 +0000 (07:55 -0700)
debian/changelog
src/FeedingIt.py
src/feedingitdbus.py
src/portrait.py

index 1cd759d..15a9dde 100644 (file)
@@ -1,9 +1,8 @@
 feedingit (0.5.3-4) unstable; urgency=low
 
   * Fixed text selection when panning (#5103)
-  * Fixed re-layout of listing when orientation changes
  
- -- Yves <yves@marcoz.org>  Mon, 22 Mar 2010 22:02:19 -0800
+ -- Yves <yves@marcoz.org>  Tue, 23 Mar 2010 07:20:19 -0800
 
 feedingit (0.5.3-2) unstable; urgency=low
 
index 217faee..020d035 100644 (file)
@@ -743,6 +743,10 @@ class FeedingIt:
         self.autoupdate = False
         self.checkAutoUpdate()
         hildon.hildon_gtk_window_set_progress_indicator(self.window, 0)
+        gobject.idle_add(self.enabelDbus)
+        
+    def enableDbus(self):
+        dbusHandler = ServerObject(self)
 
     def button_markAll(self, button):
         for key in self.listing.getListOfFeeds():
@@ -914,5 +918,4 @@ if __name__ == "__main__":
             print "Error: Can't create configuration directory"
             sys.exit(1)
     app = FeedingIt()
-    dbusHandler = ServerObject(app)
     app.run()
index 048d5b3..6371939 100644 (file)
@@ -44,6 +44,7 @@ class ServerObject(dbus.service.Object):
     def GetStatus(self):
         return self.app.getStatus()
     
+    @dbus.service.method('org.maemo.feedingit')
     def Update(self):
         self.app.button_update_clicked(None, None)
         return "Done"
index 5fd1ec6..2af4e67 100644 (file)
@@ -171,12 +171,12 @@ class FremantleRotation(object):
             hildon.hildon_gtk_window_set_portrait_flags(window, flags)
 
         self._orientation = orientation
-        if orientation == self._PORTRAIT:
-            try:
-                self.app.disp.clear()
-                self.app.disp.displayFeed()
-            except:
-                pass
+        #if orientation == self._PORTRAIT:
+        #    try:
+        #        self.app.disp.clear()
+        #        self.app.disp.displayFeed()
+        #    except:
+        #        pass
 
     def _on_orientation_signal(self, orientation, stand, face, x, y, z):            
         if orientation in (self._PORTRAIT, self._LANDSCAPE):