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
34eec970
Commit
34eec970
authored
Jan 18, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - Reorder the options in order of importance.
parent
eb1df28f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
9 deletions
+15
-9
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+15
-9
No files found.
modules/gui/qt4/qt4.cpp
View file @
34eec970
...
@@ -53,8 +53,11 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
...
@@ -53,8 +53,11 @@ static void ShowDialog ( intf_thread_t *, int, int, intf_dialog_args_t * );
/*****************************************************************************
/*****************************************************************************
* Module descriptor
* Module descriptor
*****************************************************************************/
*****************************************************************************/
#define ALWAYS_VIDEO_TEXT N_( "Always show video area" )
#define ALWAYS_VIDEO_TEXT N_( "Always an area for information when there " \
#define ALWAYS_VIDEO_LONGTEXT N_( "Start VLC with a cone image, and display it" \
"is no video played" )
#define ALWAYS_VIDEO_LONGTEXT N_( "Start VLC with a cone image, and " \
"use this zone to show information as " \
"lyrics, album arts or visualisation " \
" when there is no video track." )
" when there is no video track." )
#define ADVANCED_PREFS_TEXT N_( "Show advanced prefs over simple ones" )
#define ADVANCED_PREFS_TEXT N_( "Show advanced prefs over simple ones" )
...
@@ -129,24 +132,25 @@ vlc_module_begin();
...
@@ -129,24 +132,25 @@ vlc_module_begin();
set_description
(
"Dialogs provider"
);
set_description
(
"Dialogs provider"
);
set_capability
(
"dialogs provider"
,
51
);
set_capability
(
"dialogs provider"
,
51
);
add_bool
(
"qt-always-video"
,
VLC_FALSE
,
NULL
,
ALWAYS_VIDEO_TEXT
,
ALWAYS_VIDEO_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"qt-minimal-view"
,
VLC_FALSE
,
NULL
,
MINIMAL_TEXT
,
MINIMAL_TEXT
,
VLC_TRUE
);
add_bool
(
"qt-notification"
,
VLC_TRUE
,
NULL
,
NOTIFICATION_TEXT
,
add_bool
(
"qt-notification"
,
VLC_TRUE
,
NULL
,
NOTIFICATION_TEXT
,
NOTIFICATION_LONGTEXT
,
VLC_FALSE
);
NOTIFICATION_LONGTEXT
,
VLC_FALSE
);
add_float_with_range
(
"qt-opacity"
,
1.
,
0.1
,
1.
,
NULL
,
OPACITY_TEXT
,
add_float_with_range
(
"qt-opacity"
,
1.
,
0.1
,
1.
,
NULL
,
OPACITY_TEXT
,
OPACITY_LONGTEXT
,
VLC_FALSE
);
OPACITY_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"qt-blingbling"
,
VLC_TRUE
,
NULL
,
BLING_TEXT
,
BLING_TEXT
,
VLC_FALSE
);
add_bool
(
"qt-always-video"
,
VLC_FALSE
,
NULL
,
ALWAYS_VIDEO_TEXT
,
ALWAYS_VIDEO_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"qt-system-tray"
,
VLC_TRUE
,
NULL
,
SYSTRAY_TEXT
,
add_bool
(
"qt-system-tray"
,
VLC_TRUE
,
NULL
,
SYSTRAY_TEXT
,
SYSTRAY_LONGTEXT
,
VLC_FALSE
);
SYSTRAY_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"qt-start-minimized"
,
VLC_FALSE
,
NULL
,
MINIMIZED_TEXT
,
add_bool
(
"qt-start-minimized"
,
VLC_FALSE
,
NULL
,
MINIMIZED_TEXT
,
MINIMIZED_LONGTEXT
,
VLC_TRUE
);
MINIMIZED_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"qt-minimal-view"
,
VLC_FALSE
,
NULL
,
MINIMAL_TEXT
,
MINIMAL_TEXT
,
VLC_TRUE
);
add_bool
(
"qt-name-in-title"
,
VLC_TRUE
,
NULL
,
TITLE_TEXT
,
add_bool
(
"qt-name-in-title"
,
VLC_TRUE
,
NULL
,
TITLE_TEXT
,
TITLE_LONGTEXT
,
VLC_FALSE
);
TITLE_LONGTEXT
,
VLC_FALSE
);
add_bool
(
"qt-blingbling"
,
VLC_TRUE
,
NULL
,
BLING_TEXT
,
BLING_TEXT
,
VLC_FALSE
);
add_bool
(
"qt-volume-complete"
,
VLC_FALSE
,
NULL
,
COMPLETEVOL_TEXT
,
add_bool
(
"qt-volume-complete"
,
VLC_FALSE
,
NULL
,
COMPLETEVOL_TEXT
,
COMPLETEVOL_LONGTEXT
,
VLC_TRUE
);
COMPLETEVOL_LONGTEXT
,
VLC_TRUE
);
...
@@ -169,6 +173,8 @@ vlc_module_begin();
...
@@ -169,6 +173,8 @@ vlc_module_begin();
VLC_META_ENGINE_DURATION
|
VLC_META_ENGINE_COLLECTION
,
VLC_META_ENGINE_DURATION
|
VLC_META_ENGINE_COLLECTION
,
NULL
,
SHOWFLAGS_TEXT
,
NULL
,
SHOWFLAGS_TEXT
,
SHOWFLAGS_LONGTEXT
,
VLC_TRUE
);
SHOWFLAGS_LONGTEXT
,
VLC_TRUE
);
change_autosave
();
add_bool
(
"privacy-ask"
,
VLC_TRUE
,
NULL
,
PRIVACY_TEXT
,
PRIVACY_TEXT
,
add_bool
(
"privacy-ask"
,
VLC_TRUE
,
NULL
,
PRIVACY_TEXT
,
PRIVACY_TEXT
,
VLC_FALSE
);
VLC_FALSE
);
set_callbacks
(
OpenDialogs
,
Close
);
set_callbacks
(
OpenDialogs
,
Close
);
...
...
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