Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7a57427b
Commit
7a57427b
authored
Sep 14, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing actions in popup
parent
3251407d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
3 deletions
+25
-3
include/vlc_intf_strings.h
include/vlc_intf_strings.h
+3
-1
modules/gui/qt4/playlist_model.cpp
modules/gui/qt4/playlist_model.cpp
+18
-1
modules/gui/qt4/playlist_model.hpp
modules/gui/qt4/playlist_model.hpp
+3
-0
modules/misc/profile_parser.c
modules/misc/profile_parser.c
+0
-1
src/interface/interaction.c
src/interface/interaction.c
+1
-0
No files found.
include/vlc_intf_strings.h
View file @
7a57427b
...
@@ -34,9 +34,11 @@
...
@@ -34,9 +34,11 @@
#define I_POP_PLAY N_("Play")
#define I_POP_PLAY N_("Play")
#define I_POP_PREPARSE N_("Fetch information")
#define I_POP_PREPARSE N_("Fetch information")
#define I_POP_DEL N_("Delete")
#define I_POP_DEL N_("Delete")
#define I_POP_INFO N_("Information")
#define I_POP_INFO N_("Information
...
")
#define I_POP_SORT N_("Sort")
#define I_POP_SORT N_("Sort")
#define I_POP_ADD N_("Add node")
#define I_POP_ADD N_("Add node")
#define I_POP_STREAM N_("Stream...")
#define I_POP_SAVE N_("Save...")
/*************** Preferences *************/
/*************** Preferences *************/
...
...
modules/gui/qt4/playlist_model.cpp
View file @
7a57427b
...
@@ -694,8 +694,11 @@ void PLModel::popup( QModelIndex & index, QPoint &point, QModelIndexList list )
...
@@ -694,8 +694,11 @@ void PLModel::popup( QModelIndex & index, QPoint &point, QModelIndexList list )
current_selection
=
list
;
current_selection
=
list
;
QMenu
*
menu
=
new
QMenu
;
QMenu
*
menu
=
new
QMenu
;
menu
->
addAction
(
qfu
(
I_POP_PLAY
),
this
,
SLOT
(
popupPlay
()
)
);
menu
->
addAction
(
qfu
(
I_POP_PLAY
),
this
,
SLOT
(
popupPlay
()
)
);
menu
->
addAction
(
qfu
(
I_POP_PREPARSE
),
this
,
SLOT
(
popupPreparse
()
)
);
menu
->
addAction
(
qfu
(
I_POP_DEL
),
this
,
SLOT
(
popupDel
()
)
);
menu
->
addAction
(
qfu
(
I_POP_DEL
),
this
,
SLOT
(
popupDel
()
)
);
menu
->
addSeparator
();
menu
->
addAction
(
qfu
(
I_POP_STREAM
),
this
,
SLOT
(
popupStream
()
)
);
menu
->
addAction
(
qfu
(
I_POP_SAVE
),
this
,
SLOT
(
popupSave
()
)
);
menu
->
addSeparator
();
menu
->
addAction
(
qfu
(
I_POP_INFO
),
this
,
SLOT
(
popupInfo
()
)
);
menu
->
addAction
(
qfu
(
I_POP_INFO
),
this
,
SLOT
(
popupInfo
()
)
);
if
(
p_item
->
i_children
>
-
1
)
if
(
p_item
->
i_children
>
-
1
)
{
{
...
@@ -721,6 +724,20 @@ void PLModel::popupPlay()
...
@@ -721,6 +724,20 @@ void PLModel::popupPlay()
PL_UNLOCK
;
PL_UNLOCK
;
}
}
void
PLModel
::
popupInfo
()
{
fprintf
(
stderr
,
"Popup Info is NOT implemented
\n
"
);
}
void
PLModel
::
popupStream
()
{
fprintf
(
stderr
,
"Stream not implemented
\n
"
);
}
void
PLModel
::
popupSave
()
{
fprintf
(
stderr
,
"Save not implemented
\n
"
);
}
/**********************************************************************
/**********************************************************************
* Playlist callbacks
* Playlist callbacks
**********************************************************************/
**********************************************************************/
...
...
modules/gui/qt4/playlist_model.hpp
View file @
7a57427b
...
@@ -168,6 +168,9 @@ public slots:
...
@@ -168,6 +168,9 @@ public slots:
private
slots
:
private
slots
:
void
popupPlay
();
void
popupPlay
();
void
popupDel
();
void
popupDel
();
void
popupInfo
();
void
popupStream
();
void
popupSave
();
friend
class
PLItem
;
friend
class
PLItem
;
};
};
...
...
modules/misc/profile_parser.c
View file @
7a57427b
...
@@ -55,7 +55,6 @@ static int Open( vlc_object_t *p_this )
...
@@ -55,7 +55,6 @@ static int Open( vlc_object_t *p_this )
if
(
!
p_xml
)
return
VLC_EGENERIC
;
if
(
!
p_xml
)
return
VLC_EGENERIC
;
p_reader
=
xml_ReaderCreate
(
p_xml
,
p_stream
);
p_reader
=
xml_ReaderCreate
(
p_xml
,
p_stream
);
if
(
xml_ReaderRead
(
p_reader
)
!=
1
||
if
(
xml_ReaderRead
(
p_reader
)
!=
1
||
xml_ReaderNodeType
(
p_reader
)
!=
XML_READER_STARTELEM
)
xml_ReaderNodeType
(
p_reader
)
!=
XML_READER_STARTELEM
)
{
{
...
...
src/interface/interaction.c
View file @
7a57427b
...
@@ -272,6 +272,7 @@ int __intf_Progress( vlc_object_t *p_this, const char *psz_title,
...
@@ -272,6 +272,7 @@ int __intf_Progress( vlc_object_t *p_this, const char *psz_title,
p_new
->
psz_description
=
strdup
(
psz_status
);
p_new
->
psz_description
=
strdup
(
psz_status
);
p_new
->
val
.
f_float
=
f_pos
;
p_new
->
val
.
f_float
=
f_pos
;
p_new
->
i_timeToGo
=
i_time
;
p_new
->
i_timeToGo
=
i_time
;
p_new
->
psz_alternate_button
=
strdup
(
_
(
"Cancel"
)
);
if
(
psz_title
)
if
(
psz_title
)
{
{
...
...
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