0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00
howdy/howdy-gtk
Gliese852 344eb342f7
Some small fixes (#862)
* Also use PKEXEC_UID to get username

Privilege elevation can occur through pkexec, where many environment
variables are not accessible.

This fixes the following problem - if howdy-gtk is run without sudo,
authorization occurs via pkexec, and the user variable is empty. So when
adding the first model, it is unclear to which user to add it.

* Update the container when the slide changes

In some GTK themes, when we change a slide, we see a blank window
because there is nothing to trigger the size update, and the slide is
displayed at zero size. Let's force a size update so that it always
works.

* Remove reading of non-existent '_variables' file

* More correct preview when stretching the window

The "Video" tab layout did not display correctly when resizing the
window.

* Don't add a model if the user list is empty

The list of users may be empty, and if you try to add a model, a string
concatenation error with None will occur.

For simplicity and consistency with the "Delete" button, we simply check
the size of the list after clicking.

* Show real camera ID in the 'Video' tab

* Handle the case if there are no cameras via except

Otherwise, when trying to read the /dev/v4l/by-path directory, an
exception is thrown and the program visually freezes.
2024-01-17 14:25:40 +01:00
..
bin feat: add meson root script with howdy-gtk 2023-06-26 17:33:46 +02:00
debian Added GUI listing, adding and deleting of models 2020-12-18 17:42:15 +01:00
src Some small fixes (#862) 2024-01-17 14:25:40 +01:00
meson.build fix errors when install_in_site_package in meson.build. 2023-12-20 13:24:39 +08:00