Skip to content

Commit ffa9050

Browse files
committed
cs_themes: Finish removing tinycss support.
There's no need to check which one we have, CinnamonGtkSettings hasn't supported it for a while now.
1 parent 69727ba commit ffa9050

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Depends:
9999
python3-pyinotify,
100100
python3-requests,
101101
python3-setproctitle,
102-
python3-tinycss2 | python3-tinycss,
102+
python3-tinycss2,
103103
python3-tz,
104104
streamer,
105105
wget,

files/usr/share/cinnamon/cinnamon-settings/modules/cs_themes.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import os
44
import json
5+
import tinycss2
56

67
from gi.repository import Gtk, GdkPixbuf
78

@@ -267,12 +268,6 @@ def on_module_selected(self):
267268
widget = GSettingsSwitch(_("Show icons on buttons"), "org.cinnamon.settings-daemon.plugins.xsettings", "buttons-have-icons")
268269
settings.add_row(widget)
269270

270-
try:
271-
import tinycss2
272-
except:
273-
self.refresh_choosers()
274-
return
275-
276271
settings = page.add_section(_("Scrollbar behavior"))
277272

278273
# Translators: The 'trough' is the part of the scrollbar that the 'handle'

0 commit comments

Comments
 (0)