Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
6a92d295
Commit
6a92d295
authored
Apr 10, 2011
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: cosmetics
decode URL for the Info panel, fixed potential redraw issue in the open panel
parent
2fd9d799
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
modules/gui/macosx/open.m
modules/gui/macosx/open.m
+5
-4
modules/gui/macosx/playlistinfo.m
modules/gui/macosx/playlistinfo.m
+2
-2
No files found.
modules/gui/macosx/open.m
View file @
6a92d295
...
...
@@ -479,23 +479,24 @@ static VLCOpen *_o_sharedMainInstance = nil;
o_win_rect
.
origin
.
y
=
(
o_win_rect
.
origin
.
y
+
o_view_rect
.
size
.
height
)
-
o_view_rect
.
size
.
height
;
/* remove the MRL view */
[
o_mrl_view
removeFromSuperview
WithoutNeedingDisplay
];
[
o_mrl_view
removeFromSuperview
];
}
else
{
/* we need to expand */
[
o_mrl_view
setFrame
:
NSMakeRect
(
0
,
[
o_mrl_btn
frame
].
origin
.
y
,
o_view_rect
.
size
.
width
,
o_view_rect
.
size
.
height
)];
[
o_mrl_view
setNeedsDisplay
:
YES
];
[
o_mrl_view
setNeedsDisplay
:
NO
];
[
o_mrl_view
setAutoresizesSubviews
:
YES
];
/* add the MRL view */
[[
o_panel
contentView
]
addSubview
:
o_mrl_view
];
/* enlarge panel size for MRL view */
o_win_rect
.
size
.
height
=
o_win_rect
.
size
.
height
+
o_view_rect
.
size
.
height
;
}
[
o_panel
setFrame
:
o_win_rect
display
:
YES
animate
:
YES
];
[
o_panel
displayIfNeeded
];
if
(
[
o_mrl_btn
state
]
==
NSOnState
)
[[
o_panel
contentView
]
addSubview
:
o_mrl_view
];
}
-
(
IBAction
)
inputSlaveAction
:(
id
)
sender
...
...
modules/gui/macosx/playlistinfo.m
View file @
6a92d295
...
...
@@ -256,8 +256,8 @@ static VLCInfo *_o_sharedInstance = nil;
}
/* fill uri info */
char
*
psz_url
=
input_item_GetURI
(
p_item
);
[
o_uri_txt
setStringValue
:
[
NSString
stringWithUTF8String
:
psz_url
?
psz_url
:
""
]];
char
*
psz_url
=
decode_URI
(
input_item_GetURI
(
p_item
)
);
[
o_uri_txt
setStringValue
:
[
NSString
stringWithUTF8String
:
psz_url
?
psz_url
:
""
]];
free
(
psz_url
);
/* fill title info */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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