Re: [Evolution-hackers] Error dialogs in evolution data server plugin

Thanks for the reply!  I'm still a little confused though. How would I do something like prompt the user to see if they want to accept a self-signed certificate for example? I'm not sure I get how I could do that in the context of a eds plugin. Is it possible? Somewhere there's code that does that...because an IMAP account that is talking to a server that doesn't have a proper certificate will cause Evo to display a dialog box that allows the user to choose whether they want to accept that certificate. I would like to do the same thing, but I just cannot figure out how.

Thanks for the help,


----- Original Message -----
From: "Srinivasa Ragavan" <sragavan novell com>
To: "Scott Herscher" <scott herscher zimbra com>
Cc: evolution-hackers gnome org
Sent: Tuesday, June 19, 2007 9:53:02 PM (GMT-0800) America/Los_Angeles
Subject: Re: [Evolution-hackers] Error dialogs in evolution data server plugin

I don't think you can do a error display from EDS. Just see how the
e-cal errors/failures work. They return a code to the clients
(Evolution) and Evolution displays a error using e-error. 


On Tue, 2007-06-19 at 16:59 -0700, Scott Herscher wrote:
> Okay, hopefully this will be my last question of the day. I'd like to throw up a dialog box in my Zimbra Connector for Evolution when a server's SSL certificate is bad. I was going down the path of using gtk_message_dialog_new(...), but it doesn't seem to be working.
> So I have two questions:
> 1) Is there a better way of notifying the user of SSL certificate problems than using gtk_message_dialog_new?
> 2) If not, how do I make gtk_message_dialog_new() work?
> This is how I was using it in my test code:
>       dialog = gtk_message_dialog_new ( NULL,
>                                   GTK_DIALOG_DESTROY_WITH_PARENT,
>                                   GTK_MESSAGE_ERROR,
>                                   GTK_BUTTONS_YES_NO,
>                                   "Blah Blah Blah" );
>         returnVal = gtk_dialog_run (GTK_DIALOG (dialog));
> Any help would be greatly appreciated.
> Thanks,
> Scott
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers gnome org

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