MacOSX/VLC_app/VLCMainWindow.m: Bind the window title to the mediaPlayer's description.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jan 2008 15:36:33 +0000 (15:36 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 5 Jan 2008 15:36:33 +0000 (15:36 +0000)
extras/MacOSX/VLC_app/Sources/VLCMainWindow.m

index 19d2022..124780a 100644 (file)
                                                   [NSNumber numberWithBool:NO], NSConditionallySetsEnabledBindingOption, nil ]];
     [mediaReadingProgressText bind:@"value" toObject:mediaPlayer withKeyPath:@"time.stringValue" options: nil];
     [mediaDescriptionText bind:@"value" toObject:mediaPlayer withKeyPath:@"description" options: nil];
+    [self bind:@"title" toObject:mediaPlayer withKeyPath:@"description" options: nil];
 
     [navigatorViewToggleButton bind:@"value" toObject:self withKeyPath:@"navigatorViewVisible" options: nil];