67829c5807 
								
							 
						 
						
							
							
								
								Clean up imports ( #2537 )  
							
							... 
							
							
							
							* Remove import as _ in solaar startup
Related #2273 
* Remove import as _ in listener
Related #2273 
* Remove import as _ in cli init
Related #2273 
* Remove import as _ in gtk
Related #2273 
* Remove import as _ in show
Related #2273 
* Remove import as _ in tray
Related #2273 
* Remove import as _ in profiles
Related #2273 
* Remove import as _ in config
Related #2273 
* Remove import as _ in config panel
Related #2273 
* Remove import as _ in window
Related #2273 
* Remove import as _ in pair
Related #2273 
* Remove import as _ in pair window
Related #2273 
* Remove import as _ in cli package
Related #2273 
* Remove import as _ in ui package
Related #2273 
* Remove commented out code
Related #2273 
* Use constant for Logitech ID 
							
						 
						
							2024-07-15 08:37:18 -04:00  
				
					
						
							
							
								 
						
							
								5a63e44d58 
								
							 
						 
						
							
							
								
								Remove empty comment lines  
							
							... 
							
							
							
							Remove hashtags solely used for structuring.
Related #2273  
							
						 
						
							2024-06-02 09:54:21 -04:00  
				
					
						
							
							
								 
						
							
								5b09ace1f5 
								
							 
						 
						
							
							
								
								ruff: Apply single line import format  
							
							... 
							
							
							
							# Usage
pre-commit run --all-files
Related #2295  
							
						 
						
							2024-03-13 15:41:21 -04:00  
				
					
						
							
							
								 
						
							
								9c5ba6445e 
								
							 
						 
						
							
							
								
								device: remove status from Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								0805ecb511 
								
							 
						 
						
							
							
								
								device: move status string function to Device and Receiver  
							
							
							
						 
						
							2024-03-11 08:23:27 -04:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								7ef3059b69 
								
							 
						 
						
							
							
								
								clean up: Remove editor specific marks  
							
							... 
							
							
							
							Related #2273  
							
						 
						
							2024-02-29 10:10:46 -05:00  
				
					
						
							
							
								 
						
							
								eb937fcc3a 
								
							 
						 
						
							
							
								
								Manually fix linter issues  
							
							... 
							
							
							
							Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								7774569971 
								
							 
						 
						
							
							
								
								Apply ruff format  
							
							... 
							
							
							
							Run ruff auto formatting using:
ruff format .
Related #2295  
							
						 
						
							2024-02-20 15:41:10 -05:00  
				
					
						
							
							
								 
						
							
								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  
				
					
						
							
							
								 
						
							
								87658fb189 
								
							 
						 
						
							
							
								
								logging: Simplify logger instantiation  
							
							... 
							
							
							
							* logging: Simplify logger instantiation
Relates #2254 
* logging: Remove aliases
Relates #2254 
* logging: Replace deprecated warn with warning
Related #2254 
* logging: Fix mistake
Related #2257  
							
						 
						
							2024-02-10 13:55:27 -05:00  
				
					
						
							
							
								 
						
							
								0c7a9dd0a7 
								
							 
						 
						
							
							
								
								misc: update isort to current version  
							
							... 
							
							
							
							* Update .pre-commit-config.yaml
* Update solaar
* Update udev.py
* Update __init__.py
* Update gtk.py
* Update i18n.py
* Update listener.py
* Update icons.py
* Update notify.py
* Update hidconsole
* Update gtk.py
* Update icons.py
Co-authored-by: Peter F. Patel-Schneider <pfpschneider@gmail.com> 
							
						 
						
							2022-11-26 13:58:46 -05:00  
				
					
						
							
							
								 
						
							
								22bf4fafff 
								
							 
						 
						
							
							
								
								Drop unnecessary __future__ imports  
							
							... 
							
							
							
							These are all active by default on all recent Python versions. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								b96d16672b 
								
							 
						 
						
							
							
								
								Drop obsolete encoding declaration  
							
							... 
							
							
							
							This was only parsed in Python 2.
Python 3 only supports UTF-8 for source files, and that's what it uses. 
							
						 
						
							2021-10-30 16:49:41 -04:00  
				
					
						
							
							
								 
						
							
								41fb08c059 
								
							 
						 
						
							
							
								
								notify: allow displaying progress  
							
							
							
						 
						
							2020-09-28 12:59:04 -04:00  
				
					
						
							
							
								 
						
							
								627185079f 
								
							 
						 
						
							
							
								
								flake8: initial fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								33521558ed 
								
							 
						 
						
							
							
								
								pre-commit: initial fix  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								72a8d311bc 
								
							 
						 
						
							
							
								
								yapf: change code style to yapf  
							
							... 
							
							
							
							Signed-off-by: Filipe Laíns <lains@archlinux.org> 
							
						 
						
							2020-07-07 15:11:15 +01:00  
				
					
						
							
							
								 
						
							
								65824a4c08 
								
							 
						 
						
							
							
								
								ui: add 'desktop-entry' hint to indicate notification source.  
							
							... 
							
							
							
							GNOME requires that notifications have a 'desktop-entry' hint to be
able to filter notifications by application. See
https://wiki.gnome.org/Initiatives/GnomeGoals/NotificationSource .
Fixes  pwr-Solaar/Solaar#734  
							
						 
						
							2020-05-01 13:56:22 -04:00  
				
					
						
							
							
								 
						
							
								3edac85b90 
								
							 
						 
						
							
							
								
								ui: turn on window manager notifications again  
							
							
							
						 
						
							2020-02-18 12:17:49 +00:00  
				
					
						
							
							
								 
						
							
								ea80c6d639 
								
							 
						 
						
							
							
								
								ui: notify.py: disable python Notify extension  
							
							... 
							
							
							
							For whatever reason, this doesn't work on Fedora 26:
06:47:05,925    DEBUG [ReceiverListener:hidraw1] logitech_receiver.base: (13) => r[20 02 0100 0000000000000000000000]
06:47:05,925    DEBUG [ReceiverListener:hidraw1] logitech_receiver.notifications: <PairedDevice(2,2011,K520)> (1.0) custom notification Notification(2,01,00,000000000$
06:47:05,925  WARNING [ReceiverListener:hidraw1] logitech_receiver.notifications: <PairedDevice(2,2011,K520)>: unrecognized Notification(2,01,00,000000000000000000000$
06:47:08,806    ERROR [MainThread] solaar.ui.notify: showing <Notify.Notification object at 0x7f82c2484640 (NotifyNotification at 0x556fa0fc5a40)>
Traceback (most recent call last):
  File "./devel/solaar/lib/solaar/ui/notify.py", line 145, in show
    n.show()
Error: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)
So, disable it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> 
							
						 
						
							2017-09-11 07:02:48 -03:00  
				
					
						
							
							
								 
						
							
								e1eee2e078 
								
							 
						 
						
							
							
								
								Fix "Gtk was imported without specifying a version first"  
							
							... 
							
							
							
							Fixes the following warnings:
    sys:1: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    sys:1: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded. 
							
						 
						
							2016-03-14 11:33:05 +01:00  
				
					
						
							
							
								 
						
							
								9934755566 
								
							 
						 
						
							
							
								
								more translation fixes ( #108 )  
							
							
							
						 
						
							2013-08-12 00:32:19 +02:00  
				
					
						
							
							
								 
						
							
								c0874220d2 
								
							 
						 
						
							
							
								
								don't str() translated device status;  fixes   #108  
							
							
							
						 
						
							2013-08-08 21:49:50 +02:00  
				
					
						
							
							
								 
						
							
								38c76393b1 
								
							 
						 
						
							
							
								
								added copyright notices to all source files  
							
							
							
						 
						
							2013-07-15 17:54:42 +02:00  
				
					
						
							
							
								 
						
							
								ce9b10dc2d 
								
							 
						 
						
							
							
								
								started i18n support  
							
							
							
						 
						
							2013-07-15 17:16:44 +02:00  
				
					
						
							
							
								 
						
							
								ba55e4d9bd 
								
							 
						 
						
							
							
								
								import * cleanups  
							
							
							
						 
						
							2013-07-05 16:19:49 +02:00  
				
					
						
							
							
								 
						
							
								b2f1786eff 
								
							 
						 
						
							
							
								
								use consistent naming of offline state for devices  
							
							
							
						 
						
							2013-06-20 14:18:36 +02:00  
				
					
						
							
							
								 
						
							
								10e736386b 
								
							 
						 
						
							
							
								
								user module __name__ when initializing logger  
							
							
							
						 
						
							2013-06-07 14:28:13 +02:00  
				
					
						
							
							
								 
						
							
								eb3e2566e9 
								
							 
						 
						
							
							
								
								comment-out unnecessary logs  
							
							
							
						 
						
							2013-06-05 00:32:01 +02:00  
				
					
						
							
							
								 
						
							
								88fb8458c1 
								
							 
						 
						
							
							
								
								logging tweaks  
							
							
							
						 
						
							2013-06-02 16:16:58 +02:00  
				
					
						
							
							
								 
						
							
								37265f25d8 
								
							 
						 
						
							
							
								
								support custom icons in notification messages  
							
							
							
						 
						
							2013-06-01 22:32:57 +02:00  
				
					
						
							
							
								 
						
							
								5e68094e87 
								
							 
						 
						
							
							
								
								split the about window into its own module  
							
							
							
						 
						
							2013-05-04 12:01:28 +02:00  
				
					
						
							
							
								 
						
							
								9c621d5816 
								
							 
						 
						
							
							
								
								always try to initialize systray icon and notifications  
							
							
							
						 
						
							2013-04-28 15:44:20 +02:00  
				
					
						
							
							
								 
						
							
								36f34da227 
								
							 
						 
						
							
							
								
								proper debian packaging, dropper stdeb  
							
							
							
						 
						
							2013-01-05 11:48:35 +02:00