[vlc-devel] commit: macosx: when saving updates, only allow for a dir to be selected. ( Derk-Jan Hartman )
git version control
git at videolan.org
Tue Sep 30 14:53:23 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Tue Sep 30 14:56:00 2008 +0200| [6342bd65fb2062d14880febb1cdcf7ec61adff34] | committer: Derk-Jan Hartman
macosx: when saving updates, only allow for a dir to be selected.
The core currently cannot handle a target name
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6342bd65fb2062d14880febb1cdcf7ec61adff34
---
modules/gui/macosx/update.m | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/update.m b/modules/gui/macosx/update.m
index 5b50feb..3d296d2 100644
--- a/modules/gui/macosx/update.m
+++ b/modules/gui/macosx/update.m
@@ -142,6 +142,8 @@ static VLCUpdate *_o_sharedInstance = nil;
[saveFilePanel setCanChooseFiles: NO];
[saveFilePanel setCanChooseDirectories: YES];
[saveFilePanel setCanCreateDirectories: YES];
+ [saveFilePanel setPrompt: _NS("Save" )];
+ [saveFilePanel setNameFieldLabel: _NS("Save As:" )];
update_release_t *p_release = update_GetRelease( p_u );
assert( p_release );
[saveFilePanel beginSheetForDirectory:@"~/Downloads" file:
More information about the vlc-devel
mailing list