[Refactor] remove the code that is no longer in use
This commit is contained in:
@@ -65,7 +65,7 @@ class _SettingBoxGenerator():
|
||||
self.setting_box_desc.grid(row=1, column=0, padx=0, pady=(self.settings.uism.SB__DESC_TOP_PADY,0), sticky="ew")
|
||||
|
||||
|
||||
def createSettingBoxDropdownMenu(self, for_var_label_text, for_var_desc_text, optionmenu_attr_name, command, variable=None, dropdown_menu_attr_name=None, dropdown_menu_values=None):
|
||||
def createSettingBoxDropdownMenu(self, for_var_label_text, for_var_desc_text, optionmenu_attr_name, command, variable=None, dropdown_menu_values=None):
|
||||
(setting_box_frame, setting_box_frame_wrapper) = self._createSettingBoxFrame(for_var_label_text, for_var_desc_text)
|
||||
|
||||
setting_box_dropdown_menu_frame = CTkFrame(setting_box_frame_wrapper, corner_radius=0, width=0, height=0, fg_color=self.settings.ctm.SB__BG_COLOR)
|
||||
|
||||
@@ -42,7 +42,6 @@ def createSettingBox_Appearance(setting_box_wrapper, config_window, settings, vi
|
||||
for_var_label_text=view_variable.VAR_LABEL_APPEARANCE_THEME,
|
||||
for_var_desc_text=view_variable.VAR_DESC_APPEARANCE_THEME,
|
||||
optionmenu_attr_name="sb__optionmenu_appearance_theme",
|
||||
dropdown_menu_attr_name="sb__dropdown_appearance_theme",
|
||||
dropdown_menu_values=view_variable.LIST_APPEARANCE_THEME,
|
||||
command=lambda value: optionmenu_appearance_theme_callback(value),
|
||||
variable=view_variable.VAR_APPEARANCE_THEME,
|
||||
@@ -56,7 +55,6 @@ def createSettingBox_Appearance(setting_box_wrapper, config_window, settings, vi
|
||||
for_var_label_text=view_variable.VAR_LABEL_UI_SCALING,
|
||||
for_var_desc_text=view_variable.VAR_DESC_UI_SCALING,
|
||||
optionmenu_attr_name="sb__optionmenu_ui_scaling",
|
||||
dropdown_menu_attr_name="sb__dropdown_ui_scaling",
|
||||
dropdown_menu_values=view_variable.LIST_UI_SCALING,
|
||||
command=lambda value: optionmenu_ui_scaling_callback(value),
|
||||
variable=view_variable.VAR_UI_SCALING,
|
||||
@@ -81,7 +79,6 @@ def createSettingBox_Appearance(setting_box_wrapper, config_window, settings, vi
|
||||
for_var_label_text=view_variable.VAR_LABEL_UI_LANGUAGE,
|
||||
for_var_desc_text=view_variable.VAR_DESC_UI_LANGUAGE,
|
||||
optionmenu_attr_name="sb__optionmenu_ui_language",
|
||||
dropdown_menu_attr_name="sb__dropdown_ui_language",
|
||||
dropdown_menu_values=view_variable.LIST_UI_LANGUAGE,
|
||||
command=lambda value: optionmenu_ui_language_callback(value),
|
||||
variable=view_variable.VAR_UI_LANGUAGE,
|
||||
|
||||
@@ -46,7 +46,6 @@ def createSettingBox_Mic(setting_box_wrapper, config_window, settings, view_vari
|
||||
for_var_label_text=view_variable.VAR_LABEL_MIC_HOST,
|
||||
for_var_desc_text=view_variable.VAR_DESC_MIC_HOST,
|
||||
optionmenu_attr_name="sb__optionmenu_mic_host",
|
||||
dropdown_menu_attr_name="sb__dropdown_mic_host",
|
||||
dropdown_menu_values=view_variable.LIST_MIC_HOST,
|
||||
command=lambda value: optionmenu_mic_host_callback(value),
|
||||
variable=view_variable.VAR_MIC_HOST,
|
||||
@@ -58,7 +57,6 @@ def createSettingBox_Mic(setting_box_wrapper, config_window, settings, view_vari
|
||||
for_var_label_text=view_variable.VAR_LABEL_MIC_DEVICE,
|
||||
for_var_desc_text=view_variable.VAR_DESC_MIC_DEVICE,
|
||||
optionmenu_attr_name="sb__optionmenu_mic_device",
|
||||
dropdown_menu_attr_name="sb__dropdown_mic_device",
|
||||
dropdown_menu_values=view_variable.LIST_MIC_DEVICE,
|
||||
command=lambda value: optionmenu_input_mic_device_callback(value),
|
||||
variable=view_variable.VAR_MIC_DEVICE,
|
||||
|
||||
@@ -40,7 +40,6 @@ def createSettingBox_Speaker(setting_box_wrapper, config_window, settings, view_
|
||||
for_var_label_text=view_variable.VAR_LABEL_SPEAKER_DEVICE,
|
||||
for_var_desc_text=view_variable.VAR_DESC_SPEAKER_DEVICE,
|
||||
optionmenu_attr_name="sb__optionmenu_speaker_device",
|
||||
dropdown_menu_attr_name="sb__dropdown_speaker_device",
|
||||
dropdown_menu_values=view_variable.LIST_SPEAKER_DEVICE,
|
||||
command=lambda value: optionmenu_input_speaker_device_callback(value),
|
||||
variable=view_variable.VAR_SPEAKER_DEVICE,
|
||||
|
||||
Reference in New Issue
Block a user