From ebcbeef5fb45ea997fdbf6e2220398d892537dd3 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 3 Jan 2011 06:28:55 +1100 Subject: [PATCH] Removed dead code --- libnotipod.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/libnotipod.py b/libnotipod.py index 02f7c30..270c272 100644 --- a/libnotipod.py +++ b/libnotipod.py @@ -125,24 +125,6 @@ class ITunesLibrary(NSObject): def get_playlists(self): return self.playlists.values() - def outlineView_numberOfChildrenOfItem_(self, view, item): - if item == None: - return len(self.playlists) - else: - return 0 - - def outlineView_isItemExpandable_(self, view, item): - return False - - def outlineView_child_ofItem_(self, view, index, item): - if item == None: - return self.playlists[index] - else: - return None - - def outlineView_objectValueForTableColumn_byItem_(self, view, column, item): - return item.name - encoded_names = {} valid_chars = frozenset("\\/-_.() abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789") -- 2.39.2