Update of /cvsroot/freevo/freevo/src/image/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13402/plugins

Modified Files:
        gphoto.py 
Log Message:
last cleanups for the image module in Freevo

Index: gphoto.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/image/plugins/gphoto.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** gphoto.py   1 Aug 2004 10:43:14 -0000       1.8
--- gphoto.py   13 Sep 2004 18:00:51 -0000      1.9
***************
*** 12,15 ****
--- 12,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.9  2004/09/13 18:00:51  dischi
+ # last cleanups for the image module in Freevo
+ #
  # Revision 1.8  2004/08/01 10:43:14  dischi
  # deactivate plugin
***************
*** 47,63 ****
  import config
  from item import Item
! import pygame
! import pygphoto
  import cStringIO
! import image.viewer
  
  import plugin
  
  class PluginInterface(plugin.MainMenuPlugin):
- 
-     # XXX remove the __init__ function after checking if the plugin still
-     # XXX works.
      def __init__(self):
!         self.reason = config.REDESIGN_UNKNOWN
          return
      
--- 50,71 ----
  import config
  from item import Item
! # import pygame
! # import pygphoto
  import cStringIO
! # import image.viewer
  
  import plugin
  
  class PluginInterface(plugin.MainMenuPlugin):
      def __init__(self):
!         print
!         print 'The gphoto plugin is broken right now. Reasons for this are'
!         print 'that pygphoto doesn\'t work with the latest version of gphoto'
!         print 'and this plugin also needs to be adjusted to the new Freevo'
!         print 'gui design.'
!         print 'Since no developer uses this plugin, you can either fix it when'
!         print 'you need it or use a different way to access your photos.'
!         print
!         self.reason = 'broken'
          return
      
***************
*** 68,72 ****
          while count > 0:
              count = count - 1
!             list.append( [pygphoto.gp_name(gplist, 
count),pygphoto.gp_value(gplist,count)] )
          return list
  
--- 76,81 ----
          while count > 0:
              count = count - 1
!             list.append( [pygphoto.gp_name(gplist, count),
!                           pygphoto.gp_value(gplist,count)] )
          return list
  
***************
*** 159,163 ****
              number = number - 1
              name = pygphoto.gp_name( folders, number )
!             subFolder = CameraFolder( self, self.gCamera, parentPath + "/" + name, 
name )
              items.append( subFolder )
          files = pygphoto.gp_getfiles( self.gCamera, self.path )
--- 168,173 ----
              number = number - 1
              name = pygphoto.gp_name( folders, number )
!             subFolder = CameraFolder( self, self.gCamera,
!                                       parentPath + "/" + name, name )
              items.append( subFolder )
          files = pygphoto.gp_getfiles( self.gCamera, self.path )



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to