Commit c8fc21db authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: remove debug

(cherry picked from commit b041630b)
parent 3eba0ea3
...@@ -1542,7 +1542,6 @@ ...@@ -1542,7 +1542,6 @@
- (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id <NSDraggingInfo>)info item:(id)item childIndex:(NSInteger)index - (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id <NSDraggingInfo>)info item:(id)item childIndex:(NSInteger)index
{ {
NSLog( @"- (BOOL)outlineView:(NSOutlineView *)outlineView acceptDrop:(id <NSDraggingInfo>)info item:(id)item childIndex:(NSInteger)index" );
playlist_t * p_playlist = pl_Get( VLCIntf ); playlist_t * p_playlist = pl_Get( VLCIntf );
NSPasteboard *o_pasteboard = [info draggingPasteboard]; NSPasteboard *o_pasteboard = [info draggingPasteboard];
...@@ -1630,7 +1629,6 @@ ...@@ -1630,7 +1629,6 @@
else if( [[o_pasteboard types] containsObject: NSFilenamesPboardType] ) else if( [[o_pasteboard types] containsObject: NSFilenamesPboardType] )
{ {
NSLog( @"NSFilenamesPboardType" );
playlist_item_t *p_node = [item pointerValue]; playlist_item_t *p_node = [item pointerValue];
NSArray *o_values = [[o_pasteboard propertyListForType: NSFilenamesPboardType] NSArray *o_values = [[o_pasteboard propertyListForType: NSFilenamesPboardType]
......
...@@ -463,7 +463,6 @@ bool checkProgressPanel (void *priv) ...@@ -463,7 +463,6 @@ bool checkProgressPanel (void *priv)
#pragma mark Last.FM support #pragma mark Last.FM support
- (void)globalNotificationReceived: (NSNotification *)theNotification - (void)globalNotificationReceived: (NSNotification *)theNotification
{ {
NSLog(@"globalNotificationReceived");
NSDictionary *userData = [theNotification userInfo]; NSDictionary *userData = [theNotification userInfo];
BOOL lastFMEnabled = [[userData objectForKey:@"enabled"] intValue]; BOOL lastFMEnabled = [[userData objectForKey:@"enabled"] intValue];
NSString *lastFMUsername = [userData objectForKey:@"username"]; NSString *lastFMUsername = [userData objectForKey:@"username"];
...@@ -491,7 +490,6 @@ bool checkProgressPanel (void *priv) ...@@ -491,7 +490,6 @@ bool checkProgressPanel (void *priv)
VLCDialogButton *button = sender; VLCDialogButton *button = sender;
extension_widget_t *widget = [button widget]; extension_widget_t *widget = [button widget];
NSLog(@"(triggerClick)");
vlc_mutex_lock(&widget->p_dialog->lock); vlc_mutex_lock(&widget->p_dialog->lock);
extension_WidgetClicked(widget->p_dialog, widget); extension_WidgetClicked(widget->p_dialog, widget);
vlc_mutex_unlock(&widget->p_dialog->lock); vlc_mutex_unlock(&widget->p_dialog->lock);
...@@ -677,7 +675,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget, ...@@ -677,7 +675,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
// NSString *string = [NSString stringWithUTF8String:widget->psz_text]; // NSString *string = [NSString stringWithUTF8String:widget->psz_text];
// NSAttributedString *attrString = [[NSAttributedString alloc] initWithHTML:[string dataUsingEncoding:NSISOLatin1StringEncoding] documentAttributes:NULL]; // NSAttributedString *attrString = [[NSAttributedString alloc] initWithHTML:[string dataUsingEncoding:NSISOLatin1StringEncoding] documentAttributes:NULL];
// [[textView textStorage] setAttributedString:[[NSAttributedString alloc] initWithString:@"Hello"]]; // [[textView textStorage] setAttributedString:[[NSAttributedString alloc] initWithString:@"Hello"]];
// NSLog(@"%@", string);
// [textView setNeedsDisplay:YES]; // [textView setNeedsDisplay:YES];
// [textView scrollRangeToVisible:NSMakeRange(0, 0)]; // [textView scrollRangeToVisible:NSMakeRange(0, 0)];
// [attrString release]; // [attrString release];
...@@ -762,7 +759,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget, ...@@ -762,7 +759,6 @@ static void updateControlFromWidget(NSView *control, extension_widget_t *widget,
NSImageView *imageView = (NSImageView *)control; NSImageView *imageView = (NSImageView *)control;
NSString *string = widget->psz_text ? [NSString stringWithUTF8String:widget->psz_text] : nil; NSString *string = widget->psz_text ? [NSString stringWithUTF8String:widget->psz_text] : nil;
NSImage *image = nil; NSImage *image = nil;
NSLog(@"Setting image to %@", string);
if (string) if (string)
image = [[NSImage alloc] initWithContentsOfURL:[NSURL fileURLWithPath:string]]; image = [[NSImage alloc] initWithContentsOfURL:[NSURL fileURLWithPath:string]];
[imageView setImage:image]; [imageView setImage:image];
......
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