[virt-tools-list] [PATCH virt-viewer v2 2/2] kiosk: Show authentication dialog again if cancelled

Eduardo Lima (Etrunko) etrunko at redhat.com
Thu Jun 1 20:22:56 UTC 2017


Pushed, thanks

On 31/05/17 10:40, Victor Toso wrote:
> Hi,
> 
> On Wed, May 31, 2017 at 10:23:16AM -0300, Eduardo Lima (Etrunko) wrote:
>> Related: https://bugzilla.redhat.com/show_bug.cgi?id=1446161
>>
>> Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
> 
> Works fine,
> Acked-by: Victor Toso <victortoso at redhat.com>
> 
>> ---
>> v2: Retry authentication dialog if cancelled instead of quitting the
>>     application.
>> ---
>>  src/virt-viewer-app.c | 2 ++
>>  1 file changed, 2 insertions(+)
>>
>> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
>> index f0fcf21..2a88882 100644
>> --- a/src/virt-viewer-app.c
>> +++ b/src/virt-viewer-app.c
>> @@ -1441,6 +1441,8 @@ virt_viewer_app_disconnected(VirtViewerSession *session G_GNUC_UNUSED, const gch
>>  
>>      if (!priv->kiosk)
>>          virt_viewer_app_hide_all_windows(self);
>> +    else if (priv->cancelled)
>> +        priv->authretry = TRUE;
>>  
>>      if (priv->quitting)
>>          g_application_quit(G_APPLICATION(self));
>> -- 
>> 2.9.4
>>
>> _______________________________________________
>> virt-tools-list mailing list
>> virt-tools-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/virt-tools-list


-- 
Eduardo de Barros Lima (Etrunko)
Software Engineer - RedHat
etrunko at redhat.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20170601/9069b356/attachment.sig>


More information about the virt-tools-list mailing list