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

Modified Files:
        directory.py item.py 
Log Message:
rename id to __id__

Index: directory.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/directory.py,v
retrieving revision 1.145
retrieving revision 1.146
diff -C2 -d -r1.145 -r1.146
*** directory.py        20 Nov 2004 18:22:59 -0000      1.145
--- directory.py        30 Dec 2004 11:31:51 -0000      1.146
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.146  2004/12/30 11:31:51  dischi
+ # rename id to __id__
+ #
  # Revision 1.145  2004/11/20 18:22:59  dischi
  # use python logger module for debug
***************
*** 572,576 ****
              else:
                  # store the current selected item
!                 selected_id  = self.menu.selected.id()
                  selected_pos = self.menu.choices.index(self.menu.selected)
              if hasattr(self.menu, 'skin_default_has_description'):
--- 575,579 ----
              else:
                  # store the current selected item
!                 selected_id  = self.menu.selected.__id__()
                  selected_pos = self.menu.choices.index(self.menu.selected)
              if hasattr(self.menu, 'skin_default_has_description'):
***************
*** 745,749 ****
                  # we had a selection before, try to find it again
                  for i in items:
!                     if Unicode(i.id()) == Unicode(selected_id):
                          self.menu.set_selection(i)
                          break
--- 748,752 ----
                  # we had a selection before, try to find it again
                  for i in items:
!                     if Unicode(i.__id__()) == Unicode(selected_id):
                          self.menu.set_selection(i)
                          break

Index: item.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/item.py,v
retrieving revision 1.86
retrieving revision 1.87
diff -C2 -d -r1.86 -r1.87
*** item.py     28 Dec 2004 18:09:58 -0000      1.86
--- item.py     30 Dec 2004 11:31:51 -0000      1.87
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.87  2004/12/30 11:31:51  dischi
+ # rename id to __id__
+ #
  # Revision 1.86  2004/12/28 18:09:58  dischi
  # add extra Action class for item actions
***************
*** 287,291 ****
  
          
!     def id(self):
          """
          Return a unique id of the item. This id should be the same when the
--- 290,294 ----
  
          
!     def __id__(self):
          """
          Return a unique id of the item. This id should be the same when the



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to