Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
fb38639e
Commit
fb38639e
authored
Jul 25, 2005
by
Antoine Cellerier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only display newer versions.
parent
87808807
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
modules/gui/wxwindows/updatevlc.cpp
modules/gui/wxwindows/updatevlc.cpp
+21
-2
No files found.
modules/gui/wxwindows/updatevlc.cpp
View file @
fb38639e
...
@@ -493,13 +493,32 @@ void UpdateVLC::UpdateUpdatesTree()
...
@@ -493,13 +493,32 @@ void UpdateVLC::UpdateUpdatesTree()
/* build tree */
/* build tree */
parent
=
updates_tree
->
AppendItem
(
updates_root
,
wxT
(
""
)
);
parent
=
updates_tree
->
AppendItem
(
updates_root
,
wxT
(
""
)
);
updates_tree
->
AppendItem
(
parent
,
updates_tree
->
AppendItem
(
parent
,
wxT
(
"Current version : "
PACKAGE_VERSION_MAJOR
"."
PACKAGE_VERSION_MINOR
"."
PACKAGE_VERSION_REVISION
"-"
PACKAGE_VERSION_EXTRA
),
wxT
(
"Current version :
VLC media player
"
PACKAGE_VERSION_MAJOR
"."
PACKAGE_VERSION_MINOR
"."
PACKAGE_VERSION_REVISION
"-"
PACKAGE_VERSION_EXTRA
),
-
1
,
-
1
,
new
UpdatesTreeItem
(
wxT
(
""
)
));
-
1
,
-
1
,
new
UpdatesTreeItem
(
wxT
(
""
)
));
it
=
m_versions
.
begin
();
it
=
m_versions
.
begin
();
while
(
it
!=
m_versions
.
end
()
)
while
(
it
!=
m_versions
.
end
()
)
{
{
if
(
atoi
((
const
char
*
)
it
->
major
.
mb_str
())
<
atoi
(
PACKAGE_VERSION_MAJOR
)
||
(
atoi
((
const
char
*
)
it
->
major
.
mb_str
())
==
atoi
(
PACKAGE_VERSION_MAJOR
)
&&
(
atoi
((
const
char
*
)
it
->
minor
.
mb_str
())
<
atoi
(
PACKAGE_VERSION_MINOR
)
||
(
atoi
((
const
char
*
)
it
->
minor
.
mb_str
())
==
atoi
(
PACKAGE_VERSION_MINOR
)
&&
(
atoi
((
const
char
*
)
it
->
revision
.
mb_str
())
<
atoi
(
PACKAGE_VERSION_REVISION
)
||
(
atoi
((
const
char
*
)
it
->
revision
.
mb_str
())
==
atoi
(
PACKAGE_VERSION_REVISION
)
)
)
)
)
)
)
{
/* version is older or equal tu current version.
FIXME : how do we handle the extra version number ? */
it
++
;
continue
;
}
wxTreeItemId
cat
=
updates_tree
->
AppendItem
(
parent
,
wxTreeItemId
cat
=
updates_tree
->
AppendItem
(
parent
,
wxT
(
"VLC media player "
)
+
it
->
major
+
wxT
(
"."
)
wxT
(
"New Version : VLC media player "
)
+
it
->
major
+
wxT
(
"."
)
+
it
->
minor
+
wxT
(
"."
)
+
it
->
revision
+
wxT
(
"-"
)
+
it
->
minor
+
wxT
(
"."
)
+
it
->
revision
+
wxT
(
"-"
)
+
it
->
extra
+
wxT
(
" ("
)
+
it
->
type
+
wxT
(
")"
),
+
it
->
extra
+
wxT
(
" ("
)
+
it
->
type
+
wxT
(
")"
),
-
1
,
-
1
,
new
UpdatesTreeItem
(
wxT
(
""
)
));
-
1
,
-
1
,
new
UpdatesTreeItem
(
wxT
(
""
)
));
...
...
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