[pve-devel] [PATCH installer] gui: make abort button focusable

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 21 12:36:32 CEST 2023


Am 21/06/2023 um 12:02 schrieb Maximiliano Sandoval:
> GtkWiget:can-focus=false means that the user cannot use tab or key
> navigation to interact with this button.
> 

that's not true, as Do the Alt + A combination works just fine here.
And not having it in the default focusing "group" is definitively wanted.

I'd rather keep it as is.

> Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
> ---
>  proxinstall | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/proxinstall b/proxinstall
> index 6d13892..f260a95 100755
> --- a/proxinstall
> +++ b/proxinstall
> @@ -178,7 +178,6 @@ sub create_main_window {
>  
>  
>      my $abort = Gtk3::Button->new('_Abort');
> -    $abort->set_can_focus(0);
>      $cmdbox->pack_start($abort, 0, 0, 10);
>      $abort->signal_connect(clicked => sub { app_quit(-1); });
>  






More information about the pve-devel mailing list