Florian Müllner 521525948e screenshot: Do not wrongly enable window button
The window button is disabled when
 - there are no windows
 - we are in screen-recording mode
 - the session mode doesn't allow windows

However the last condition is only taken into account when
opening the dialog, but not when switching from recording-
to screenshot mode.

Address this by updating the button's sensitivity in a separate
function, so the different conditions are considered consistently.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6990

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2944>
2023-09-07 18:23:29 +02:00
..
2023-08-09 15:10:38 +00:00
2023-08-09 15:10:38 +00:00
2023-08-09 15:10:38 +00:00
2023-08-06 13:02:49 +02:00
2023-08-06 13:02:49 +02:00
2023-08-09 15:10:38 +00:00
2023-08-09 15:10:38 +00:00
2023-08-31 03:44:32 +00:00
2023-08-10 17:42:23 +00:00
2023-08-10 17:42:23 +00:00
2023-08-25 16:21:03 +00:00
2023-08-06 13:02:49 +02:00
2023-08-09 15:10:38 +00:00
2023-08-31 22:05:32 +00:00
2023-08-09 15:10:38 +00:00
2023-08-09 15:10:38 +00:00
2023-08-10 17:42:23 +00:00
2023-08-09 15:10:38 +00:00
2023-08-09 15:10:38 +00:00
2023-08-06 13:02:49 +02:00
2023-08-10 17:42:23 +00:00
2023-08-09 15:10:38 +00:00
2023-08-10 17:42:23 +00:00
2023-08-10 17:42:23 +00:00
2023-08-09 15:10:38 +00:00
2023-08-31 03:44:32 +00:00
2023-08-10 17:42:23 +00:00
2023-08-31 03:44:32 +00:00