Changeset 125

Show
Ignore:
Timestamp:
Wed Oct 4 11:54:38 2006
Author:
manatlan
Message:

- code revision : remove tepache trace (comment) in jbrout.py

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/jbrout.py

    r124 r125  
    627 627     window="window"  
    628 628  
    629       #-- Window.new {  
    630 629     def init(self):  
    631 630         #=============================================================================  
     
    909 908  
    910 909         #=============================================================================  
    911       #-- Window.new }  
    912 910  
    913       #-- Window custom methods {  
    914 911     def fillComboYear(self):  
    915 912         """ fill the comboyear in tab "time" """  
     
    1002 999  
    1003 1000         if withFilter:  
    1004               # feed albums from selection into --> d  
      1001             # feed albums from selection into --> f  
    1004 1001             # feed taglist from selection into --> t  
    1005 1002             t=set()  
     
    1010 1007                 f=f.union([i.folder,])  
    1011 1008  
    1012               # store tags in selection  
      1009             # store filtered tags and albums  
    1012 1009             self.tagsInSelection = list(t)  
    1013 1010             self.foldersInSelection = list(f)  
    1014               #~ print self.foldersInSelection  
    1015 1011  
    1016 1012             if self.cbxFilter.get_active():  
      1013                 # if filter view is shown : refresh it  
    1017 1014                 self.refreshFiltered()  
    1018 1015  
     
    2058 2055             node.setExpand(True)  
    2059 2056  
    2060       #-- Window.on_treeviewtags_drag_data_get {  
    2061 2057     def on_treeviewtags_drag_data_get(self, widget, *args):  
    2062 2058         context, selection, target_id,etime = args  
     
    2075 2071         self.dragTags = l  
    2076 2072         selection.set(selection.target, 8, "tags" )  
    2077       #-- Window.on_treeviewtags_drag_data_get }  
    2078 2073  
    2079       #-- Window.on_treeviewtags_drag_data_received {  
    2080 2074     def on_treeviewtags_drag_data_received(self, widget, *args):  
    2081           #~ print "drag"  
    2082 2075         context, x, y, selection, info, time = args  
    2083           #~ print selection.selection  
    2084           #~ print selection.target  
    2085           #~ print selection.format  
    2086           #~ print selection.data  
    2087 2076  
    2088 2077         dragFrom =context.get_source_widget().__class__.__name__  
     
    2128 2117  
    2129 2118         context.finish(True, False, time)  
    2130       #-- Window.on_treeviewtags_drag_data_received }  
    2131 2119  
    2132       #-- Window.on_treeviewtags_button_release_event {  
    2133 2120     def on_treeviewtags_button_release_event(self, widget, *args):  
    2134 2121  
     
    2159 2146                         menu.popup(None,None,None,event.button,0)  
    2160 2147  
    2161       #-- Window.on_treeviewtags_button_release_event }  
    2162 2148  
    2163       #-- Window.on_treeviewtags_cursor_changed {  
    2164 2149     def on_treeviewtags_cursor_changed(self, widget, *args):  
    2165 2150         if self.storeMultipleSelectedPathsOfTags:  
     
    2168 2153             for path in self.storeMultipleSelectedPathsOfTags:  
    2169 2154                 treeselection.select_path(path)  
    2170       #-- Window.on_treeviewtags_cursor_changed }  
    2171 2155  
    2172 2156     def on_treeviewtags_button_press_event(self, widget, *args):  
     
    2244 2228     sys.exit(0)  
    2245 2229  
    2246   #-- main }