Commit d6dd1495 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

(Cosmetic) settings don't belong to the dialog provider

parent 519dca52
...@@ -165,65 +165,63 @@ vlc_module_begin(); ...@@ -165,65 +165,63 @@ vlc_module_begin();
set_callbacks( Open, Close ); set_callbacks( Open, Close );
add_shortcut("qt"); add_shortcut("qt");
add_integer( "qt-display-mode", QT_NORMAL_MODE, NULL,
add_submodule(); QT_MODE_TEXT, QT_MODE_LONGTEXT, false );
set_description( "Dialogs provider" ); change_integer_list( i_mode_list, psz_mode_list_text, NULL );
set_capability( "dialogs provider", 51 );
add_bool( "qt-notification", true, NULL, NOTIFICATION_TEXT,
add_integer( "qt-display-mode", QT_NORMAL_MODE, NULL, NOTIFICATION_LONGTEXT, false );
QT_MODE_TEXT, QT_MODE_LONGTEXT, false );
change_integer_list( i_mode_list, psz_mode_list_text, NULL ); add_float_with_range( "qt-opacity", 1., 0.1, 1., NULL, OPACITY_TEXT,
OPACITY_LONGTEXT, false );
add_bool( "qt-notification", true, NULL, NOTIFICATION_TEXT, add_bool( "qt-blingbling", true, NULL, BLING_TEXT, BLING_TEXT, false );
NOTIFICATION_LONGTEXT, false );
add_bool( "qt-system-tray", true, NULL, SYSTRAY_TEXT,
add_float_with_range( "qt-opacity", 1., 0.1, 1., NULL, OPACITY_TEXT, SYSTRAY_LONGTEXT, false);
OPACITY_LONGTEXT, false ); add_bool( "qt-start-minimized", false, NULL, MINIMIZED_TEXT,
add_bool( "qt-blingbling", true, NULL, BLING_TEXT, MINIMIZED_LONGTEXT, true);
BLING_TEXT, false ); add_bool( "qt-name-in-title", true, NULL, TITLE_TEXT,
TITLE_LONGTEXT, false );
add_bool( "qt-system-tray", true, NULL, SYSTRAY_TEXT, add_bool( "qt-fs-controller", true, NULL, QT_FULLSCREEN_TEXT,
SYSTRAY_LONGTEXT, false); QT_FULLSCREEN_TEXT, false );
add_bool( "qt-start-minimized", false, NULL, MINIMIZED_TEXT,
MINIMIZED_LONGTEXT, true); add_bool( "qt-volume-complete", false, NULL, COMPLETEVOL_TEXT,
add_bool( "qt-name-in-title", true, NULL, TITLE_TEXT, COMPLETEVOL_LONGTEXT, true );
TITLE_LONGTEXT, false ); add_bool( "qt-autosave-volume", false, NULL, SAVEVOL_TEXT,
add_bool( "qt-fs-controller", true, NULL, QT_FULLSCREEN_TEXT, SAVEVOL_TEXT, true );
QT_FULLSCREEN_TEXT, false ); add_string( "qt-filedialog-path", NULL, NULL, FILEDIALOG_PATH_TEXT,
add_bool( "qt-volume-complete", false, NULL, COMPLETEVOL_TEXT,
COMPLETEVOL_LONGTEXT, true );
add_bool( "qt-autosave-volume", false, NULL, SAVEVOL_TEXT,
SAVEVOL_TEXT, true );
add_string( "qt-filedialog-path", NULL, NULL, FILEDIALOG_PATH_TEXT,
FILEDIALOG_PATH_TEXT, true ); FILEDIALOG_PATH_TEXT, true );
change_autosave(); change_autosave();
change_internal(); change_internal();
add_bool( "qt-recentplay", true, NULL, RECENTPLAY_TEXT, add_bool( "qt-recentplay", true, NULL, RECENTPLAY_TEXT,
RECENTPLAY_TEXT, false ); RECENTPLAY_TEXT, false );
add_string( "qt-recentplay-filter", "xxx|porn", NULL, add_string( "qt-recentplay-filter", "xxx|porn", NULL,
RECENTPLAY_FILTER_TEXT, RECENTPLAY_FILTER_LONGTEXT, false ); RECENTPLAY_FILTER_TEXT, RECENTPLAY_FILTER_LONGTEXT, false );
add_bool( "qt-adv-options", false, NULL, ADVANCED_OPTIONS_TEXT, add_bool( "qt-adv-options", false, NULL, ADVANCED_OPTIONS_TEXT,
ADVANCED_OPTIONS_LONGTEXT, true ); ADVANCED_OPTIONS_LONGTEXT, true );
add_bool( "qt-advanced-pref", false, NULL, ADVANCED_PREFS_TEXT, add_bool( "qt-advanced-pref", false, NULL, ADVANCED_PREFS_TEXT,
ADVANCED_PREFS_LONGTEXT, false ); ADVANCED_PREFS_LONGTEXT, false );
add_bool( "qt-error-dialogs", true, NULL, ERROR_TEXT, add_bool( "qt-error-dialogs", true, NULL, ERROR_TEXT,
ERROR_TEXT, false ); ERROR_TEXT, false );
#ifdef UPDATE_CHECK #ifdef UPDATE_CHECK
add_bool( "qt-updates-notif", true, NULL, UPDATER_TEXT, add_bool( "qt-updates-notif", true, NULL, UPDATER_TEXT,
UPDATER_LONGTEXT, false ); UPDATER_LONGTEXT, false );
add_integer( "qt-updates-days", 7, NULL, UPDATER_DAYS_TEXT, add_integer( "qt-updates-days", 7, NULL, UPDATER_DAYS_TEXT,
UPDATER_DAYS_TEXT, false ); UPDATER_DAYS_TEXT, false );
#endif #endif
add_string( "qt-slider-colours", add_string( "qt-slider-colours",
"255;255;255;20;226;20;255;176;15;235;30;20", "255;255;255;20;226;20;255;176;15;235;30;20",
NULL, SLIDERCOL_TEXT, SLIDERCOL_LONGTEXT, false ); NULL, SLIDERCOL_TEXT, SLIDERCOL_LONGTEXT, false );
add_bool( "qt-privacy-ask", true, NULL, PRIVACY_TEXT, PRIVACY_TEXT, add_bool( "qt-privacy-ask", true, NULL, PRIVACY_TEXT, PRIVACY_TEXT,
false ); false );
change_internal(); change_internal();
add_submodule();
set_description( "Dialogs provider" );
set_capability( "dialogs provider", 51 );
set_callbacks( OpenDialogs, Close ); set_callbacks( OpenDialogs, Close );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment