From 3a5473ca038104a1541950cf994aa0c2e27ed745 Mon Sep 17 00:00:00 2001 From: DYefremov Date: Thu, 7 Jan 2021 10:34:10 +0300 Subject: [PATCH] removed bq position option --- app/ui/settings_dialog.glade | 36 ------------------------------------ app/ui/settings_dialog.py | 3 --- 2 files changed, 39 deletions(-) diff --git a/app/ui/settings_dialog.glade b/app/ui/settings_dialog.glade index b7cb3b3a..b4322a74 100644 --- a/app/ui/settings_dialog.glade +++ b/app/ui/settings_dialog.glade @@ -2466,42 +2466,6 @@ Author: Dmitriy Yefremov 1 - - - True - False - False - - - True - False - Display the bouquet channel list first - - - False - True - 0 - - - - - True - True - - - False - True - end - 1 - - - - - False - True - 2 - - diff --git a/app/ui/settings_dialog.py b/app/ui/settings_dialog.py index 5fcf4fb6..fd55cac1 100644 --- a/app/ui/settings_dialog.py +++ b/app/ui/settings_dialog.py @@ -186,7 +186,6 @@ class SettingsDialog: self._icon_theme_combo_box = builder.get_object("icon_theme_combo_box") self._dark_mode_switch = builder.get_object("dark_mode_switch") self._layout_switch = builder.get_object("layout_switch") - self._bq_list_switch = builder.get_object("bq_list_switch") self._layout_switch.bind_property("active", builder.get_object("bouquet_box"), "sensitive") self._themes_support_switch = builder.get_object("themes_support_switch") self._themes_support_switch.bind_property("active", builder.get_object("gtk_theme_frame"), "sensitive") @@ -345,7 +344,6 @@ class SettingsDialog: if self._ext_settings.is_darwin: self._ext_settings.dark_mode = self._dark_mode_switch.get_active() self._ext_settings.alternate_layout = self._layout_switch.get_active() - self._ext_settings.bq_details_first = self._bq_list_switch.get_active() self._ext_settings.is_themes_support = self._themes_support_switch.get_active() self._ext_settings.theme = self._theme_combo_box.get_active_id() self._ext_settings.icon_theme = self._icon_theme_combo_box.get_active_id() @@ -760,7 +758,6 @@ class SettingsDialog: def init_appearance(self): self._dark_mode_switch.set_active(self._ext_settings.dark_mode) self._layout_switch.set_active(self._ext_settings.alternate_layout) - self._bq_list_switch.set_active(self._ext_settings.bq_details_first) t_support = self._ext_settings.is_themes_support self._themes_support_switch.set_active(t_support) if t_support: