howdy/howdy-gtk/src
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
..
authsticky.py feat: add meson root script with howdy-gtk 2023-06-26 17:33:46 +02:00
i18n.py Added internalisation and user add button 2021-01-03 16:10:13 +01:00
init.py Started on glade ui, removed howdy-gtk-auth symlink 2020-12-05 13:44:40 +01:00
logo.png GTK fixes 2023-02-22 09:35:36 +01:00
logo_about.png Added about tab 2020-12-22 17:44:52 +01:00
main.glade Some small fixes (#862) 2024-01-17 14:25:40 +01:00
onboarding.glade display linux-enable-ir-emitter help 2022-06-30 15:35:27 +02:00
onboarding.py Some small fixes (#862) 2024-01-17 14:25:40 +01:00
paths.py.in feat: add meson root script with howdy-gtk 2023-06-26 17:33:46 +02:00
paths_factory.py feat: add meson root script with howdy-gtk 2023-06-26 17:33:46 +02:00
tab_models.py Some small fixes (#862) 2024-01-17 14:25:40 +01:00
tab_video.py Some small fixes (#862) 2024-01-17 14:25:40 +01:00
window.py feat: add meson root script with howdy-gtk 2023-06-26 17:33:46 +02:00