diff --git a/app/settings.py b/app/settings.py
index ebe37d3b..a0e51329 100644
--- a/app/settings.py
+++ b/app/settings.py
@@ -628,6 +628,14 @@ class Settings:
def alternate_layout(self, value):
self._settings["alternate_layout"] = value
+ @property
+ def bq_details_first(self):
+ return self._settings.get("bq_details_first", False)
+
+ @bq_details_first.setter
+ def bq_details_first(self, value):
+ self._settings["bq_details_first"] = value
+
@property
def is_themes_support(self):
return self._settings.get("is_themes_support", False)
diff --git a/app/ui/settings_dialog.glade b/app/ui/settings_dialog.glade
index 280b4ec4..da244fc0 100644
--- a/app/ui/settings_dialog.glade
+++ b/app/ui/settings_dialog.glade
@@ -2553,6 +2553,42 @@ Author: Dmitriy Yefremov
1
+
+
+
+ False
+ True
+ 2
+
+
diff --git a/app/ui/settings_dialog.py b/app/ui/settings_dialog.py
index 78c5fbdd..da937a42 100644
--- a/app/ui/settings_dialog.py
+++ b/app/ui/settings_dialog.py
@@ -197,6 +197,8 @@ 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")
self._themes_support_switch.bind_property("active", builder.get_object("icon_theme_frame"), "sensitive")
@@ -363,6 +365,7 @@ 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()
@@ -781,6 +784,7 @@ 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: