Matthias Hagmann
e92f1a8a0b
Automatically upgrade strings to f-string
...
Used flynt to convert strings to f-strings, where safely possible.
Usage:
flynt .
Related #2372
2024-03-13 11:02:50 -04:00
Peter F. Patel-Schneider
b957217ea8
receiver: delay device sending first messages
2024-03-13 08:34:28 -04:00
Peter F. Patel-Schneider
4a89a79a4d
device: remove checks for status attributes
2024-03-12 13:11:49 -04:00
Peter F. Patel-Schneider
f3ff61cfc1
cli: fix bug in building battery line in show
2024-03-11 15:20:39 -04:00
MattHag
704d591448
ui: refactor diversion_rules
...
* refactor: Create close dialog in its own function
Related #2378
* refactor: Create selected rule edit panel in module level function
Related #2378
* refactor: Remove commented code
Related #2378
* refactor: Use Gdk constant for right click button comparison
Related #2378
* refactor: Make _menu_do_copy a function
Related #2378
2024-03-11 10:19:20 -04:00
Peter F. Patel-Schneider
569f829a63
ui: fix bug in determining tray icon
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
9c5ba6445e
device: remove status from Device and Receiver
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
a1418cd834
device: move changed method from status to Device and Receiver
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
1fe2eab1a4
device: move link_encrypted from status to Device
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
15d425c365
device: move battery information from status to Device
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
0805ecb511
device: move status string function to Device and Receiver
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
87285faf7f
receiver: move pairing status to new dataclass attached to receiver
2024-03-11 08:23:27 -04:00
Peter F. Patel-Schneider
135c8b8cb9
device: use status attribute for error
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
8154cd759f
device: use status attribute for notification_flags
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
6b3f09aa5d
device: use status attribute for link_encrypted
2024-03-09 10:36:40 -05:00
Peter F. Patel-Schneider
9121169f91
ui: use Battery object in GUI
2024-03-09 10:36:40 -05:00
Swapnil Devesh
5ee1c6df30
ui: fix app name casing in UI
...
* Fix app name casing in UI
* Linter fixes
* Only use NAME variable
* FIx linter errors
2024-03-05 12:08:56 -05:00
Matthias Hagmann
8f6e8eef4c
Refactor: Move Device instantiation to factory class
...
Related #2273
2024-03-03 09:32:42 -05:00
Matthias Hagmann
51e44052b0
Refactor: Move Receiver instantiation to factory class
...
Related #2350
2024-03-03 09:32:42 -05:00
Matthias Hagmann
9c76a6c5ba
refactor: Introduce Hidpp20 class
...
Related #1097
2024-03-02 10:56:41 -05:00
Matthias Hagmann
85149a809e
refactor: Introduce Hidpp10 class
...
Related #1097
2024-03-02 10:56:41 -05:00
MattHag
574a95da50
cleanup: Remove unnecessary calls of del
...
Related #2273
2024-03-02 10:48:06 -05:00
Matthias Hagmann
7ef3059b69
clean up: Remove editor specific marks
...
Related #2273
2024-02-29 10:10:46 -05:00
Matthias Hagmann
c3b01bffae
fix: Replace invalid hidpp10 usage
...
Related #1097
2024-02-28 17:41:46 -05:00
Peter F. Patel-Schneider
6939fb7196
solaar: use only timer thread to save config.yaml
2024-02-27 14:47:03 -05:00
Peter F. Patel-Schneider
8ae86acd65
ui: fix bug when displaying receiver notification flags
2024-02-26 10:55:14 -05:00
Peter F. Patel-Schneider
14f19ceaaf
solaar: cleanup listener code
2024-02-23 11:37:23 -05:00
Peter F. Patel-Schneider
8744506259
solaar: add locks to prevent multiple persisters for device
2024-02-23 08:40:16 -05:00
Peter F. Patel-Schneider
3954bbd111
solaar: clean up configuration code
2024-02-23 08:40:16 -05:00
Matthias Hagmann
eb937fcc3a
Manually fix linter issues
...
Related #2295
2024-02-20 15:41:10 -05:00
Matthias Hagmann
7774569971
Apply ruff format
...
Run ruff auto formatting using:
ruff format .
Related #2295
2024-02-20 15:41:10 -05:00
Peter F. Patel-Schneider
6f633efac5
ui: implement setting_changed callback and pass in to new devices and receivers
2024-02-20 06:19:23 -05:00
Peter F. Patel-Schneider
476f41f8ae
logitech_receiver: style fixes
2024-02-20 05:58:33 -05:00
Matthias Hagmann
5f487dd3b2
logitech_receiver: Move hidpp20 constants into new module
...
Related #1097
2024-02-20 05:58:33 -05:00
Matthias Hagmann
2fcab65486
logitech_receiver: Move hidpp10 constants into new module
...
Related #1097
2024-02-20 05:58:33 -05:00
Matthias Hagmann
e8fdbeee8e
logitech_receiver: Move exceptions into own module
...
Related #1097
2024-02-20 05:58:33 -05:00
Peter F. Patel-Schneider
fa9494435b
device: streamline status code
2024-02-19 09:18:08 -05:00
Peter F. Patel-Schneider
ab9e06829a
ui: move ui_async to common.py
2024-02-18 08:09:34 -05:00
Peter F. Patel-Schneider
12de240949
device: improve imports in logitech_receiver
...
device: move imports of ui modules to beginning of files
logitech_receiver: remove imports from __init__.py
2024-02-18 06:21:35 -05:00
Peter F. Patel-Schneider
d1c899d6da
solaar: improve imports and guard Gtk, etc imports with correct version
...
solaar: move imports to top of files
solaar: move more imports to top of files
solaar: guard Gtk, etc imports with correct version
2024-02-18 06:21:35 -05:00
Peter F. Patel-Schneider
17e6463950
ui: improve imports in ui
...
ui: move imports in about.py to top of file
ui: move imports to top of notify.py
ui: move imports to top of window.py
ui: reorder imports at beginning of __init__.py
ui: move imports to top of tray.py
ui: move common code out of __init__.py to common.py
ui: move imports to top of __init___.py
2024-02-18 06:21:35 -05:00
Peter F. Patel-Schneider
ad6e3dc80e
cli: move imports in __init__.py to top of file
2024-02-18 06:21:35 -05:00
Peter F. Patel-Schneider
47f94a6a79
release 1.1.11
2024-02-18 05:59:47 -05:00
Peter F. Patel-Schneider
8dcb85ddb7
release 1.1.11rc4
2024-02-15 08:59:32 -05:00
Peter F. Patel-Schneider
8facd0cf68
dist: rename light icons and install them in correct place
2024-02-15 08:51:36 -05:00
Peter F. Patel-Schneider
1f954cd42e
release 1.1.11rc3
2024-02-14 12:21:49 -05:00
Peter F. Patel-Schneider
fb5b7e0582
ui: better checking for setting in record_setting
2024-02-13 04:01:19 -05:00
Matthias Hagmann
ca24a93005
Fix invalid func name set logo name
...
Related #2254 , #2276
2024-02-13 03:28:51 -05:00
Peter F. Patel-Schneider
438ea74dba
release 1.1.11rc2
2024-02-12 18:22:03 -05:00
Peter F. Patel-Schneider
e6aacc42dd
ui: tidy up scrolling appearance in configuration panel
2024-02-11 16:50:31 -05:00