From 7f79812e83301d8948a14c7217c49de64d72525a Mon Sep 17 00:00:00 2001 From: fredcw Date: Mon, 30 Oct 2023 03:28:28 +0000 Subject: [PATCH] Ensure settings window expands to fit toolbar As the settings window Toolbar only contains one ToolItem, this ToolItem can disappear if the window is too narrow and Toolbar:show-arrow property is set to true. Set Toolbar:show-arrow to false to ensure that the window will expand to accommodate the full width of the Toolbar. --- files/usr/share/cinnamon/cinnamon-settings/xlet-settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/usr/share/cinnamon/cinnamon-settings/xlet-settings.py b/files/usr/share/cinnamon/cinnamon-settings/xlet-settings.py index 4ccf2d109d..3ff2f4ded3 100755 --- a/files/usr/share/cinnamon/cinnamon-settings/xlet-settings.py +++ b/files/usr/share/cinnamon/cinnamon-settings/xlet-settings.py @@ -194,6 +194,7 @@ def build_window(self): toolbar = Gtk.Toolbar() toolbar.get_style_context().add_class("primary-toolbar") + toolbar.set_show_arrow(False) main_box.add(toolbar) toolitem = Gtk.ToolItem()