Commit e53fc84b authored by David Fuhrmann's avatar David Fuhrmann

macosx: Remove old and dead code

parent 6d1da70d
...@@ -52,8 +52,6 @@ ...@@ -52,8 +52,6 @@
- (void)playlistUpdated; - (void)playlistUpdated;
- (void)playbackModeUpdated; - (void)playbackModeUpdated;
- (void)updateTogglePlaylistState;
- (void)outlineViewSelectionDidChange:(NSNotification *)notification;
- (void)sortNode:(int)i_mode; - (void)sortNode:(int)i_mode;
- (void)currentlyPlayingItemChanged; - (void)currentlyPlayingItemChanged;
......
...@@ -219,42 +219,6 @@ ...@@ -219,42 +219,6 @@
[_model playbackModeUpdated]; [_model playbackModeUpdated];
} }
- (void)updateTogglePlaylistState
{
[self outlineViewSelectionDidChange: NULL];
}
- (void)outlineViewSelectionDidChange:(NSNotification *)notification
{
// // FIXME: unsafe
// playlist_item_t * p_item = [[_outlineView itemAtRow:[_outlineView selectedRow]] pointerValue];
//
// if (p_item) {
// /* update the state of our Reveal-in-Finder menu items */
// NSMutableString *o_mrl;
// char *psz_uri = input_item_GetURI(p_item->p_input);
//
// [o_mi_revealInFinder setEnabled: NO];
// [o_mm_mi_revealInFinder setEnabled: NO];
// if (psz_uri) {
// o_mrl = [NSMutableString stringWithUTF8String: psz_uri];
//
// /* perform some checks whether it is a file and if it is local at all... */
// NSRange prefix_range = [o_mrl rangeOfString: @"file:"];
// if (prefix_range.location != NSNotFound)
// [o_mrl deleteCharactersInRange: prefix_range];
//
// if ([o_mrl characterAtIndex:0] == '/') {
// [o_mi_revealInFinder setEnabled: YES];
// [o_mm_mi_revealInFinder setEnabled: YES];
// }
// free(psz_uri);
// }
//
// /* update our info-panel to reflect the new item */
// [[VLCInfo sharedInstance] updatePanelWithItem:p_item->p_input];
// }
}
- (BOOL)isSelectionEmpty - (BOOL)isSelectionEmpty
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment