Skip to content

Commit adb19f2

Browse files
committed
fix claude suggestions in cs_notifications.py
1 parent 9b1f4c6 commit adb19f2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ class AppNotificationRow(Gtk.ListBoxRow):
101101
def __init__(self, app_info, parent_settings):
102102
super().__init__()
103103
self.parent_settings = parent_settings
104-
self.set_activatable(True)
104+
self.set_activatable(True)
105105
self.set_selectable(False)
106106
self.set_can_focus(True)
107107

108108
self.app_name = app_info.get_name().lower()
109109

110-
# Sanitise app ID for GSettings path by:
110+
# Sanitise app ID for GSettings path (this should remain the same as in ui/messageTray.js)
111111
# 1. Convert to lower case.
112112
# 2. Replace any one or more consecutive characters that is not a lowercase letter or a digit with a hyphen.
113113
# 3. Trim any leading or trailing hyphens.
@@ -118,7 +118,7 @@ def __init__(self, app_info, parent_settings):
118118
self.settings = Gio.Settings.new_with_path(PER_APP_SCHEMA, path)
119119

120120
hbox = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=12)
121-
hbox.set_margin_start(8)
121+
hbox.set_margin_start(8)
122122
hbox.set_margin_end(8)
123123
hbox.set_margin_top(4)
124124
hbox.set_margin_bottom(4)

0 commit comments

Comments
 (0)