Peter F. Patel-Schneider
f5c63ccc39
ui: better display of battery information in main window
2020-08-22 10:43:10 -04:00
Peter F. Patel-Schneider
fd02b33971
ui: use ngettext for translatable strings with number dependencies
2020-08-02 11:56:56 -04:00
Filipe Laíns
27c90fa736
yapf: adjust style to not indent closing brackets
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
8e89aa0038
yapf: set max line lenght to 127
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
627185079f
flake8: initial fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
33521558ed
pre-commit: initial fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
e6369e0c3c
isort: intial import fix
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Filipe Laíns
72a8d311bc
yapf: change code style to yapf
...
Signed-off-by: Filipe Laíns <lains@archlinux.org>
2020-07-07 15:11:15 +01:00
Peter F. Patel-Schneider
784661bbc0
ui: remove maximum window size
2020-06-07 13:33:42 +01:00
Peter F. Patel-Schneider
013f383bc8
ui: display battery voltage in ui if available
2020-06-06 12:59:26 -04:00
Peter F. Patel-Schneider
cb84d3b797
ui: remove translation for several strings that should not be translated in window.py
2020-06-06 12:59:26 -04:00
Peter F. Patel-Schneider
79947dca6c
receiver: gather and show battery next level where available
2020-06-06 12:59:26 -04:00
Peter F. Patel-Schneider
d487a0d889
ui: remove assert that updated receiver is still in window
2020-05-02 14:07:42 +01:00
Peter F. Patel-Schneider
072f932206
ui: handle devices and receivers with no firmware information
2020-03-16 20:55:18 +00:00
Peter F. Patel-Schneider
e23de2ee9f
ui: add quit button to main window
2020-02-18 13:14:10 +00:00
Peter F. Patel-Schneider
64c76e51ef
receiver,cli,ui: minor code cleanup
2020-02-17 11:53:39 +00:00
Peter F. Patel-Schneider
4afe8c893b
ui: add option to show the main window or run solaar without tray
2020-02-17 08:35:47 +00:00
Peter F. Patel-Schneider
22d37c4c1c
ui: Better determination in GUI of when receiver may pair (still might be conservative)
2020-02-17 08:34:53 +00:00
Peter F. Patel-Schneider
546ccb7ac2
receiver: determine remaining pairings (if receiver has this) and display in solaar show and main window
2020-02-17 08:34:53 +00:00
Peter F. Patel-Schneider
1bc189e2fe
ui: add --tray option to start without window visible
2020-01-22 22:22:14 +00:00
Peter F. Patel-Schneider
77e21a0b63
ui: fix crash when styles add padding by not setting 1-pixel columns; slightly better window layout; add style class to window
2020-01-21 03:11:35 +00:00
Peter F. Patel-Schneider
d6fa5269c5
ui: don't ignore offline devices when determining whether pairing is possible
2020-01-21 03:08:49 +00:00
Peter F. Patel-Schneider
4678f52293
don't have window always be on top
2019-12-24 18:54:12 +00:00
Patrick Decat
6c0acee645
Fix UnicodeDecodeError with ngettext and python2
2019-06-29 18:01:54 +02:00
Ben Wolsieffer
2c0ea34694
Fix device tree GUI hierarchy.
2018-08-11 16:24:15 -04:00
Peter Wu
867edf8516
Merge pull request #146 from tristianc/master
...
Added border around tree view.
2018-08-11 17:55:37 +02:00
Jason Tibbitts
d021d87656
Python 3.7 compatibility fixes
...
This fixes the python 3.7 incompatibilities arising from 'async'
becoming a reserved word.
The file lib/solaar/async.py is renamed to asks.py. I picked the name
because it defines the TaskRunner class and it's the best I could come
up in fifteen seconds.
The async function in solar/ui/__init__.py is renamed to ui_async, and
the various imports of that function are changed to match.
Without this patch it doesn't build at all. I am running with this
patch applied and everything appears to work as expected.
Signed-off-by: Jason Tibbitts <tibbs@math.uh.edu>
2018-08-07 12:51:32 -04:00
Dimitriy Ryazantcev
934ecb821d
Update l10n strings in code
2016-12-21 00:18:01 +02:00
Tristin Celestin
2b08c5e0c9
Added border around tree view.
2014-01-01 21:45:44 -05:00
erik-smit
9a6cdd9cee
TypeError: Argument 3 does not allow None as a value
2013-10-31 11:16:38 +01:00
Daniel Pavel
9934755566
more translation fixes ( #108 )
2013-08-12 00:32:19 +02:00
Daniel Pavel
5faecbf4f3
some strings were untranslated; fixes #100
2013-08-08 21:50:04 +02:00
Daniel Pavel
413cebe40f
delay some UI initialization until necessary
2013-08-08 21:49:35 +02:00
Daniel Pavel
61dfefde94
internationalized most strings; fixes #79
...
some might have slipped through the cracks
2013-07-17 19:53:21 +02:00
Daniel Pavel
38c76393b1
added copyright notices to all source files
2013-07-15 17:54:42 +02:00
Daniel Pavel
ce9b10dc2d
started i18n support
2013-07-15 17:16:44 +02:00
Daniel Pavel
43ab629a26
moved logitech.unifying_receiver package to logitech_receiver
2013-07-12 22:48:09 +02:00
Daniel Pavel
d78c7ed9be
make sure items in window tree are sorted by number ( fixed #73 )
2013-07-12 15:24:49 +02:00
Daniel Pavel
9c8252b59f
on alert popups, selected the device that triggered the popup
2013-07-12 14:10:26 +02:00
Daniel Pavel
488a78cc52
fixed #75 (pair button disappearing)
2013-07-12 10:35:28 +02:00
Daniel Pavel
dbb9025e26
replaced _ dummies with _ignore
2013-07-08 21:21:14 +02:00
Daniel Pavel
e2f94a9e0e
be more lax as to when to allow pairing new devices
2013-07-06 13:55:22 +02:00
Daniel Pavel
ba55e4d9bd
import * cleanups
2013-07-05 16:19:49 +02:00
Daniel Pavel
065b8628d2
don't always show Notifications in details
2013-07-05 14:34:37 +02:00
Daniel Pavel
f65079ad6d
formatting fix for notifications
2013-07-04 13:35:23 +02:00
Daniel Pavel
edce56cd20
use a single separate thread for all possibly long-running stuff in GUI
2013-07-04 13:23:25 +02:00
Daniel Pavel
cd437c3809
only set NOTIFICATION_FLAGS for 1.0 devices
2013-07-04 13:22:35 +02:00
Daniel Pavel
3275aa4c12
allow most receivers to unpair (or at least try)
2013-07-03 08:18:47 +02:00
Daniel Pavel
a0f880fbba
fix for NoneType crash
2013-07-02 19:43:18 +02:00
Daniel Pavel
833f087fdf
also show polling rate in Hz
2013-07-02 12:23:47 +02:00
Daniel Pavel
3436055c7f
re-worked (AGAIN) the way the devices are initially set-up
...
There is absolutely no consistency between the registers and
features receivers have, even if they're the same product_id!
2013-07-01 19:00:26 +02:00
Daniel Pavel
94464a40b8
show the battery charge in the devices tree, if available ( fixes #71 )
2013-07-01 18:39:17 +02:00
Daniel Pavel
1194abf125
don't know yet how to tell if the receiver supports the unifying protocol
2013-07-01 15:28:05 +02:00
Daniel Pavel
da541e000a
put usb ids into separate py file
2013-06-30 14:34:53 +02:00
Daniel Pavel
1d305db29e
minor UI layout tweaks
2013-06-29 19:02:19 +02:00
Daniel Pavel
bd5c03812f
replaced solaar png icons with svgs
2013-06-25 15:59:49 +02:00
Daniel Pavel
6b0b7ea823
minor clean-ups and formatting
2013-06-24 17:04:19 +02:00
Daniel Pavel
f64942b51d
if the battery level is approximative, show a string instead of percentage
2013-06-24 17:02:00 +02:00
Daniel Pavel
dc59c79bd3
properly handle tree re-selection when removing a receiver
2013-06-23 18:35:23 +02:00
Daniel Pavel
b3aac40246
dropped activate_on_single_click, requires gtk 3.8
2013-06-23 13:44:34 +02:00
Daniel Pavel
273284da39
use number instead of serial to pick devices in ui (faster start-up)
2013-06-23 12:09:46 +02:00
Daniel Pavel
e19b690bd5
fixed reading of polling rate
2013-06-21 16:47:19 +02:00
Daniel Pavel
cdc6da844e
made the config_panel self-contained
2013-06-21 15:18:21 +02:00
Daniel Pavel
fd35f23af7
one a separate flag to check if the device is active
2013-06-21 15:17:14 +02:00
Daniel Pavel
2fea5d9af2
disable the unpair button for peripherals of a Nano receiver
2013-06-20 17:21:58 +02:00
Daniel Pavel
27de1aea11
tray/window: append new devices rather than inserting them at the top
2013-06-20 14:43:49 +02:00
Daniel Pavel
f8369e7c63
properly style the details panel
2013-06-20 14:18:03 +02:00
Daniel Pavel
f095a74f2a
make the main window a regular window (visible in tasks list)
2013-06-20 13:51:42 +02:00
Daniel Pavel
4e3fccb009
fixed sizing of details panel
2013-06-20 13:41:05 +02:00
Daniel Pavel
798628fdf8
add the USB id for the receiver in the details panel
2013-06-20 13:10:55 +02:00
Daniel Pavel
4bc525f250
minor clean-ups
2013-06-20 11:02:45 +02:00
Daniel Pavel
a806f2672d
group all status keys into one object
2013-06-19 19:45:39 +02:00
Daniel Pavel
2fee88e54b
fixed battery charge display in device info
2013-06-19 19:23:18 +02:00
Daniel Pavel
7e1a2a6e4f
more fixes for device unpairing
2013-06-19 17:21:28 +02:00
Daniel Pavel
d5b311760e
clean obsolete settings controls when devices are unpaired
2013-06-19 17:04:01 +02:00
Daniel Pavel
dffe6f8b91
fix display of firmware in details panel
2013-06-19 17:03:16 +02:00
Daniel Pavel
b4bca4670b
cache notification flags when possible
...
avoids unnecessary reads from devices when the status hasn't changed
2013-06-19 17:03:01 +02:00
Daniel Pavel
9fc11df229
fixed window update when unpairing
2013-06-19 16:22:44 +02:00
Daniel Pavel
cd44cc6396
new single-window UI
2013-06-19 15:28:13 +02:00