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
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
1bc189e2fe
ui: add --tray option to start without window visible
2020-01-22 22:22:14 +00: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
Hugo Osvaldo Barrera
63a98819a6
Don't open a main window when battery is critical
...
The main window suddenly opening when a battery is critical is very
disruptive. It can pop up on all sort of undesirable scenarios.
Rather than catch users of guard, merely show a notification that the
battery is critical.
2016-02-19 03:25:55 -03:00
Daniel Pavel
db48fe1b40
re-formatted translation files
2013-08-08 22:41:57 +02:00
Daniel Pavel
22656d5b82
use Gtk.Application properly
2013-08-08 21:49:35 +02:00
Daniel Pavel
3d4570cd1f
check the Gtk bindings version at start-up
2013-07-20 06:22:15 +02:00
Daniel Pavel
5d5f97a776
Gtk.Application.get_dbus_object_path my be missing
2013-07-18 14:06:51 +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
16af3a9acc
version 0.9.1
2013-07-13 11:24:41 +02:00
Daniel Pavel
43ab629a26
moved logitech.unifying_receiver package to logitech_receiver
2013-07-12 22:48:09 +02:00
Daniel Pavel
85efe92d30
replaced appinstance with GtkApplication
2013-07-09 17:52:07 +02:00
Daniel Pavel
0d89d1e6c8
formatting fix in unpairing error dialog
2013-07-07 01:31:22 +02:00
Daniel Pavel
faa6de3b75
more explicit error dialogs, when possible
2013-07-06 14:20:50 +02:00
Daniel Pavel
bd3198f6f0
correctly handle out-of-process pairing and unpairing
2013-07-05 16:06:38 +02:00
Daniel Pavel
47bcd4478c
prettier error message if unpair fails
2013-07-05 14:35:06 +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
b1e9480f5a
minor logging tweaks
2013-07-01 15:00: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
4bc525f250
minor clean-ups
2013-06-20 11:02:45 +02:00
Daniel Pavel
cd44cc6396
new single-window UI
2013-06-19 15:28:13 +02:00
Daniel Pavel
03e20842fb
cleaned-up gtk ui initialization
2013-06-12 14:29:34 +02:00
Daniel Pavel
b98e27e464
fix permissions error popup
2013-06-08 21:04:32 +02:00
Daniel Pavel
46544e1cbe
listen for udev events on the GLib main loop
2013-06-07 14:39:04 +02:00
Daniel Pavel
ffab6c0e12
move Gtk-specific idle_add() and main() into ui
2013-06-07 14:37:03 +02:00
Daniel Pavel
b4fc36701a
added attention() to tray icon
2013-06-03 21:39:29 +02:00
Daniel Pavel
c706fbc6e7
update icon theme paths directly, don't mess with XDG_DATA_DIRS
2013-06-03 11:17:19 +02:00
Daniel Pavel
465fea8a16
dropped solaar-mask unused icon
2013-06-02 01:11:32 +02:00
Daniel Pavel
7317fad754
some debugging when setting icon theme paths
2013-06-01 15:08:23 +02:00
Daniel Pavel
26dd3a2ca8
only need to set the default window icon once
2013-05-27 12:36:39 +03:00
Daniel Pavel
ac0eafe6ab
don't crash when failing to load the icon mask
2013-05-19 03:52:01 +03:00
Daniel Pavel
a4ec8ec05d
better error dialog on receiver permission error; fixes #17
...
The problem is caused by starting Solaar right after installing it; while udev
does have the new rule loaded, the /dev/hidraw* device nodes already exist
with the old permissions.
Rather than doing a "udevadm --reload-rules" (which could have unknown side-
effects on other devices), instruct the user to remove and re-insert the usb
receiver. The new /dev/hidraw* device nods will be created with the right
permissions.
2013-05-05 10:35:03 +02:00
Daniel Pavel
e5a28ac64e
simplified window/icon code, reworked how device updates are signalled
2013-04-30 19:44:03 +02:00
Daniel Pavel
22da75cb72
replaced some deprecated GObject calls with GLib
2013-04-30 11:47:30 +02:00
Daniel Pavel
653d370a85
fixed locating application icons when running in a custom prefix
2013-01-08 00:40:54 +02:00
Daniel Pavel
36f34da227
proper debian packaging, dropper stdeb
2013-01-05 11:48:35 +02:00