On Sun, Jan 15, 2012 at 7:29 AM, Guannan Ren <[email protected]> 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

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to