[virt-tools-list] [PATCH 2/3]virt-viewer: Register a new signal	'session-cancelled'
    Marc-André Lureau 
    marcandre.lureau at gmail.com
       
    Mon Jan 16 13:33:14 UTC 2012
    
    
  
On Sun, Jan 15, 2012 at 7:29 AM, Guannan Ren <gren at redhat.com> wrote:
> +               } else {
> +                       g_signal_emit_by_name(session, "session-auth-refused",
> +                                              _("Unable to collect credentials"));
it looks like it was wrong to emit "session-auth-refused" in the first
place, if the dialog is cancelled.
So we could keep the current 2 return values meaning: -1 cancel, 0 ok.
-- 
Marc-André Lureau
    
    
More information about the virt-tools-list
mailing list