Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f3e5f808
Commit
f3e5f808
authored
Aug 01, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fileinfo : patch by Jonas A. Larsen to remove empty fields
bookmarks : remove compile warning
parent
1098be62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
modules/gui/wxwindows/bookmarks.cpp
modules/gui/wxwindows/bookmarks.cpp
+1
-1
modules/gui/wxwindows/fileinfo.cpp
modules/gui/wxwindows/fileinfo.cpp
+7
-3
No files found.
modules/gui/wxwindows/bookmarks.cpp
View file @
f3e5f808
...
@@ -517,7 +517,7 @@ void BookmarksDialog::OnEdit( wxCommandEvent& event )
...
@@ -517,7 +517,7 @@ void BookmarksDialog::OnEdit( wxCommandEvent& event )
return
;
return
;
}
}
fprintf
(
stderr
,
"Changing %i
\n
"
,
i_first
);
fprintf
(
stderr
,
"Changing %
l
i
\n
"
,
i_first
);
if
(
input_Control
(
p_input
,
INPUT_CHANGE_BOOKMARK
,
if
(
input_Control
(
p_input
,
INPUT_CHANGE_BOOKMARK
,
p_bmk_edit
->
p_seekpoint
,
i_first
)
!=
p_bmk_edit
->
p_seekpoint
,
i_first
)
!=
VLC_SUCCESS
)
VLC_SUCCESS
)
...
...
modules/gui/wxwindows/fileinfo.cpp
View file @
f3e5f808
...
@@ -151,8 +151,12 @@ void FileInfo::UpdateFileInfo()
...
@@ -151,8 +151,12 @@ void FileInfo::UpdateFileInfo()
{
{
info_t
*
p_info
=
p_cat
->
pp_infos
[
j
];
info_t
*
p_info
=
p_cat
->
pp_infos
[
j
];
fileinfo_tree
->
AppendItem
(
cat
,
(
wxString
)
wxU
(
p_info
->
psz_name
)
+
if
(
p_info
->
psz_value
[
0
]
!=
0
)
wxT
(
": "
)
+
wxU
(
p_info
->
psz_value
)
);
/* We only wanna show fields that have an actual value */
{
fileinfo_tree
->
AppendItem
(
cat
,
(
wxString
)
wxU
(
p_info
->
psz_name
)
+
wxT
(
": "
)
+
wxU
(
p_info
->
psz_value
)
);
}
}
}
fileinfo_tree
->
Expand
(
cat
);
fileinfo_tree
->
Expand
(
cat
);
}
}
...
@@ -179,7 +183,7 @@ void FileInfo::OnClose( wxCloseEvent& WXUNUSED(event) )
...
@@ -179,7 +183,7 @@ void FileInfo::OnClose( wxCloseEvent& WXUNUSED(event) )
Hide
();
Hide
();
}
}
static
int
ItemChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
static
int
ItemChanged
(
vlc_object_t
*
p_this
,
const
char
*
psz_var
,
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
vlc_value_t
oldval
,
vlc_value_t
newval
,
void
*
param
)
{
{
FileInfo
*
p_fileinfo
=
(
FileInfo
*
)
param
;
FileInfo
*
p_fileinfo
=
(
FileInfo
*
)
param
;
...
...
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