- remove incomplete external volume script controlling

if somebody need this, we can commit the correct and complete patch
This commit is contained in:
GetAway
2019-02-09 19:10:34 +01:00
parent 9283c464cb
commit a2bc300681
6 changed files with 0 additions and 14 deletions

View File

@@ -1425,11 +1425,6 @@ void COsdSetup::showOsdVolumeSetup(CMenuWidget *menu_volume)
mc = new CMenuOptionChooser(LOCALE_EXTRA_SHOW_MUTE_ICON, &g_settings.show_mute_icon, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
mc->setHint("", LOCALE_MENU_HINT_SHOW_MUTE_ICON);
menu_volume->addItem(mc);
// volume_external
mc = new CMenuOptionChooser(LOCALE_EXTRA_EXTERNAL_VOLUME, &g_settings.volume_external, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true);
mc->setHint("", LOCALE_MENU_HINT_EXTERNAL_VOLUME);
menu_volume->addItem(mc);
}
//info clock

View File

@@ -548,7 +548,6 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.volume_pos = configfile.getInt32("volume_pos", CVolumeBar::VOLUMEBAR_POS_BOTTOM_CENTER);
g_settings.volume_digits = configfile.getBool("volume_digits", true);
g_settings.volume_size = configfile.getInt32("volume_size", 26 );
g_settings.volume_external = configfile.getInt32("volume_external", 0);
g_settings.menu_pos = configfile.getInt32("menu_pos", CMenuWidget::MENU_POS_CENTER);
g_settings.show_menu_hints = configfile.getBool("show_menu_hints", true);
@@ -1371,7 +1370,6 @@ void CNeutrinoApp::saveSetup(const char * fname)
configfile.setInt32("volume_pos" , g_settings.volume_pos );
configfile.setBool("volume_digits", g_settings.volume_digits);
configfile.setInt32("volume_size" , g_settings.volume_size);
configfile.setInt32("volume_external", g_settings.volume_external);
configfile.setInt32("menu_pos" , g_settings.menu_pos);
configfile.setBool("show_menu_hints" , g_settings.show_menu_hints);
configfile.setInt32("infobar_show_sysfs_hdd" , g_settings.infobar_show_sysfs_hdd );

View File

@@ -473,7 +473,6 @@ typedef enum
LOCALE_EXTRA_DBOXINFO_USE,
LOCALE_EXTRA_DBOXINFO_USED,
LOCALE_EXTRA_EAST,
LOCALE_EXTRA_EXTERNAL_VOLUME,
LOCALE_EXTRA_FEC_1_2,
LOCALE_EXTRA_FEC_2_3,
LOCALE_EXTRA_FEC_2_5,
@@ -1159,7 +1158,6 @@ typedef enum
LOCALE_MENU_HINT_EVENTLIST_FONTS,
LOCALE_MENU_HINT_EVENTLIST_SETUP,
LOCALE_MENU_HINT_EXTENDED,
LOCALE_MENU_HINT_EXTERNAL_VOLUME,
LOCALE_MENU_HINT_FACTORY,
LOCALE_MENU_HINT_FADE,
LOCALE_MENU_HINT_FAN_SPEED,

View File

@@ -473,7 +473,6 @@ const char * locale_real_names[] =
"extra.dboxinfo_use",
"extra.dboxinfo_used",
"extra.east",
"extra.external_volume",
"extra.fec_1_2",
"extra.fec_2_3",
"extra.fec_2_5",
@@ -1159,7 +1158,6 @@ const char * locale_real_names[] =
"menu.hint_eventlist_fonts",
"menu.hint_eventlist_setup",
"menu.hint_extended",
"menu.hint_external_volume",
"menu.hint_factory",
"menu.hint_fade",
"menu.hint_fan_speed",

View File

@@ -230,7 +230,6 @@ struct SNeutrinoSettings
int volume_pos;
int volume_digits;
int volume_size;
int volume_external;
int show_mute_icon;
int menu_pos;
int show_menu_hints;