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

* MainMenu.nib, playlist.m: use NSSearchField instead of NSTextField, so we...

* MainMenu.nib, playlist.m: use NSSearchField instead of NSTextField, so we don't need to replace it manually anymore. This breaks the 10.2-compatibility. (refs #189)

* update.m: use mtime() instead of NSCalenderDate for the time-stamp

* sfilters.m: fixed 2 compilation warnings (corrected UTF8String to char casting)
parent 8e3a102f
......@@ -463,27 +463,6 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
vlc_list_release( p_list );
vlc_object_release( p_playlist );
/* Change the simple textfield into a searchField if we can... */
#if 0
if( MACOS_VERSION >= 10.3 )
{
NSView *o_parentview = [o_status_field superview];
NSSearchField *o_better_search_field = [[NSSearchField alloc]initWithFrame:[o_search_field frame]];
[o_better_search_field setRecentsAutosaveName:@"VLC media player search"];
[o_better_search_field setDelegate:self];
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(searchfieldChanged:)
name: NSControlTextDidChangeNotification
object: o_better_search_field];
[o_better_search_field setTarget:self];
[o_better_search_field setAction:@selector(searchItem:)];
[o_better_search_field setAutoresizingMask:NSViewMinXMargin];
[o_parentview addSubview:o_better_search_field];
[o_search_field setHidden:YES];
}
#endif
//[self playlistUpdated];
}
......@@ -524,7 +503,7 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
{
unsigned int i;
/* Clear indications of any existing column sorting*/
/* Clear indications of any existing column sorting */
for( i = 0 ; i < [[o_outline_view tableColumns] count] ; i++ )
{
[o_outline_view setIndicatorImage:nil inTableColumn:
......
......@@ -414,7 +414,7 @@ static VLCsFilters *_o_sharedInstance = nil;
}
else
{
val.psz_string = [[o_marq_marq_fld stringValue] UTF8String];
val.psz_string = (char *)[[o_marq_marq_fld stringValue] UTF8String];
}
if( p_input )
......@@ -484,7 +484,7 @@ static VLCsFilters *_o_sharedInstance = nil;
}
else
{
val.psz_string = [[o_time_stamp_fld stringValue] UTF8String];
val.psz_string = (char *)[[o_time_stamp_fld stringValue] UTF8String];
}
if( p_input )
......
......@@ -143,8 +143,9 @@ static VLCUpdate *_o_sharedInstance = nil;
int x = 0;
NSString * pathToReleaseNote;
pathToReleaseNote = [NSString stringWithFormat: \
@"/tmp/vlc_releasenote_%@.tmp", [[NSCalendarDate calendarDate] \
descriptionWithCalendarFormat: @"%m-%d-%y--%I.%M.%S.%F"]];
@"/tmp/vlc_releasenote_%d.tmp", mdate()]; /*[[NSCalendarDate calendarDate] \
descriptionWithCalendarFormat: @"%m-%d-%y--%I.%M.%S.%F"]];*/
NSLog( pathToReleaseNote );
if( p_uit )
{
......
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