[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] [PATCH 2/3]virt-viewer: Register a new signal 'session-cancelled'



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]