You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When in the settings-schema.json file of a Spice (an applet here) we define a list with "show-buttons" option set to false, an error occurs executing cinnamon-settings applets UUID_of_Spice:
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/bin/TreeListWidgets.py", line 139, in toggle_checkbox
self.list_changed()
File "/usr/share/cinnamon/cinnamon-settings/bin/TreeListWidgets.py", line 335, in list_changed
self.update_button_sensitivity()
File "/usr/share/cinnamon/cinnamon-settings/bin/TreeListWidgets.py", line 218, in update_button_sensitivity
self.remove_button.set_sensitive(False)
^^^^^^^^^^^^^^^^^^
AttributeError: 'NewClass' object has no attribute 'remove_button'
Traceback (most recent call last):
File "/usr/share/cinnamon/cinnamon-settings/bin/TreeListWidgets.py", line 221, in update_button_sensitivity
self.remove_button.set_sensitive(True)
^^^^^^^^^^^^^^^^^^
AttributeError: 'NewClass' object has no attribute 'remove_button'
Steps to reproduce
Install the SpicesUpdate applet (which has some lists with "show-buttons" option set to false.
Execute cinnamon-settings applets SpicesUpdate@claudiux in a terminal.
Open the Applets tab, then check or uncheck a switch next to an applet name.
Wait 10 seconds. The error message appears in the terminal.
Expected behavior
No errors appear. No waiting time to check or uncheck a switch in a list.
Additional information
In /usr/share/cinnamon/cinnamon-settings/bin/TreeListWidgets.py, function def update_button_sensitivity(self, *args):, we don't need to do anything when the “show-buttons” option is set to false.
The text was updated successfully, but these errors were encountered:
Distribution
Mint 22
Package version
Cinnamon 6.2.9
Graphics hardware in use
No matters
Frequency
Always
Bug description
When in the
settings-schema.json
file of a Spice (an applet here) we define a list with "show-buttons" option set tofalse
, an error occurs executingcinnamon-settings applets UUID_of_Spice
:Steps to reproduce
false
.cinnamon-settings applets SpicesUpdate@claudiux
in a terminal.Expected behavior
No errors appear. No waiting time to check or uncheck a switch in a list.
Additional information
In
/usr/share/cinnamon/cinnamon-settings/bin/TreeListWidgets.py
, functiondef update_button_sensitivity(self, *args):
, we don't need to do anything when the “show-buttons” option is set tofalse
.The text was updated successfully, but these errors were encountered: