conduit r1674 - in trunk: . conduit/modules/GoogleModule



Author: jstowers
Date: Fri Aug 22 14:32:57 2008
New Revision: 1674
URL: http://svn.gnome.org/viewvc/conduit?rev=1674&view=rev

Log:
	* conduit/modules/GoogleModule/GoogleModule.py: Scale photos in
	picasa two way. Fixes #548989 (Antonio G)


Added:
   trunk/   (props changed)
      - copied from r1672, /trunk/
Modified:
   trunk/ChangeLog
   trunk/conduit/modules/GoogleModule/GoogleModule.py

Modified: trunk/conduit/modules/GoogleModule/GoogleModule.py
==============================================================================
--- /trunk/conduit/modules/GoogleModule/GoogleModule.py	(original)
+++ trunk/conduit/modules/GoogleModule/GoogleModule.py	Fri Aug 22 14:32:57 2008
@@ -575,6 +575,9 @@
             
     def _get_photo_formats (self):
         return ("image/jpeg",)
+
+    def _get_photo_size(self):
+        return self.imageSize
         
     def _upload_photo (self, uploadInfo):
         try:
@@ -1269,9 +1272,6 @@
         return False
 
     def configure(self, window):
-        """
-        Configures the PicasaTwoWay
-        """
         import gtk
 
         def make_combo(widget, docType, val, values):



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