Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
cf206ca9
Commit
cf206ca9
authored
Jul 21, 2005
by
Felix Paul Kühne
Browse files
* whoops (refs #13)
parent
f2188843
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/wizard.m
View file @
cf206ca9
...
...
@@ -237,14 +237,14 @@ static VLCWizard *_o_sharedInstance = nil;
[
o_btn_forward
setTitle
:
[
_NS
(
"Next"
)
stringByAppendingString
:
@" >"
]];
/* "Input" */
[
o_t2_fld_pathToStrm
setStringValue
:
@""
];
[
o_t2_fld_pathTo
New
Strm
setStringValue
:
@""
];
[
o_t2_ckb_enblPartExtrct
setState
:
NSOffState
];
[
self
t2_enableExtract
:
nil
];
[
o_t2_matrix_inputSourceType
selectCellAtRow
:
0
column
:
0
];
[[
o_t2_matrix_inputSourceType
cellAtRow
:
1
column
:
0
]
setState
:
NSOffState
];
/* FIXME: we need to refresh the playlist-table as well */
[
o_t2_tbl_plst
setEnabled
:
NO
];
[
o_t2_fld_pathToStrm
setEnabled
:
YES
];
[
o_t2_fld_pathTo
New
Strm
setEnabled
:
YES
];
[
o_t2_btn_chooseFile
setEnabled
:
YES
];
/* "Streaming 1" */
...
...
@@ -399,12 +399,12 @@ static VLCWizard *_o_sharedInstance = nil;
if
(
[
o_mode
isEqualToString
:
_NS
(
"Select a stream"
)]
)
{
[
o_userSelections
setObject
:
@"YES"
forKey
:
@"newStrm"
];
if
([[
o_t2_fld_pathToStrm
stringValue
]
isEqualToString
:
@""
])
if
([[
o_t2_fld_pathTo
New
Strm
stringValue
]
isEqualToString
:
@""
])
{
/* set a flag that no file is selected */
stop
=
YES
;
}
else
{
[
o_userSelections
setObject
:[
o_t2_fld_pathToStrm
stringValue
]
forKey
:
@"pathToStrm"
];
[
o_userSelections
setObject
:[
o_t2_fld_pathTo
New
Strm
stringValue
]
forKey
:
@"pathToStrm"
];
}
}
else
{
if
([
o_t2_tbl_plst
selectedRow
]
!=
-
1
)
...
...
@@ -1104,7 +1104,7 @@ static VLCWizard *_o_sharedInstance = nil;
{
if
(
returnCode
==
NSOKButton
)
{
[
o_t2_fld_pathToStrm
setStringValue
:[
sheet
filename
]];
[
o_t2_fld_pathTo
New
Strm
setStringValue
:[
sheet
filename
]];
}
}
...
...
@@ -1117,11 +1117,11 @@ static VLCWizard *_o_sharedInstance = nil;
if
(
[
o_mode
isEqualToString
:
_NS
(
"Select a stream"
)]
)
{
[
o_t2_btn_chooseFile
setEnabled
:
YES
];
[
o_t2_fld_pathToStrm
setEnabled
:
YES
];
[
o_t2_fld_pathTo
New
Strm
setEnabled
:
YES
];
[
o_t2_tbl_plst
setEnabled
:
NO
];
}
else
{
[
o_t2_btn_chooseFile
setEnabled
:
NO
];
[
o_t2_fld_pathToStrm
setEnabled
:
NO
];
[
o_t2_fld_pathTo
New
Strm
setEnabled
:
NO
];
[
o_t2_tbl_plst
setEnabled
:
YES
];
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment