Re: [Evolution-hackers] Error dialogs in evolution data server plugin
Scott, IMAP/Camel runs in the address space of Evolution and it would be different in this case, as EDS is a different process altogether and the clients speak Bonobo or DBUS to EDS. May be another API... donno? I really need to see the code to suggest something. Chenthill may have some thought/ideas here. -Srini. On Tue, 2007-06-19 at 23:22 -0700, Scott Herscher wrote: > 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, > > Scott > > - Original Message - > From: "Srinivasa Ragavan" <[EMAIL PROTECTED]> > To: "Scott Herscher" <[EMAIL PROTECTED]> > 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. > > -Srini. > > 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 > > http://mail.gnome.org/mailman/listinfo/evolution-hackers > > ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
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, Scott - Original Message - From: "Srinivasa Ragavan" <[EMAIL PROTECTED]> To: "Scott Herscher" <[EMAIL PROTECTED]> 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. -Srini. 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 > http://mail.gnome.org/mailman/listinfo/evolution-hackers ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
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. -Srini. 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 > http://mail.gnome.org/mailman/listinfo/evolution-hackers ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] Error dialogs in evolution data server plugin
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 http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] Not able to choose Sent folder
Yes, that is exactly what is happening. Scott On Jun 19, 2007, at 1:52 PM, Matthew Barnes wrote: > On Tue, 2007-06-19 at 13:10 -0700, Scott Herscher wrote: >> I've got a question about configuring which Sent folder to use. After >> configuring my Zimbra account in Evo, when I go to the Defaults >> tab of >> the account preferences windows, the UI doesn't allow me to specify >> the "Sent" folder to use for that account. I can specify which >> "Drafts" folder to use, but not which "Sent" folder. > > How is the UI preventing you from specifying a "Sent" folder? Is the > "Sent" folder option grayed out? > > Matthew Barnes > > ___ > Evolution-hackers mailing list > Evolution-hackers@gnome.org > http://mail.gnome.org/mailman/listinfo/evolution-hackers ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] Not able to choose Sent folder
On Tue, 2007-06-19 at 13:10 -0700, Scott Herscher wrote: > I've got a question about configuring which Sent folder to use. After > configuring my Zimbra account in Evo, when I go to the Defaults tab of > the account preferences windows, the UI doesn't allow me to specify > the "Sent" folder to use for that account. I can specify which > "Drafts" folder to use, but not which "Sent" folder. How is the UI preventing you from specifying a "Sent" folder? Is the "Sent" folder option grayed out? Matthew Barnes ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] Multiple Trash and Junk folders
On Tue, 2007-06-19 at 12:33 -0700, Scott Herscher wrote: > Hey all. I'm trying to track down a problem within the Zimbra Evolution > Connector. It seems that everytime I setup a Zimbra account, my mail > folder list contains two Trash and two Junk folders. One of them has > a folder icon, and one has a "local" icon. Why is this happening, and > what can I do to make it stop? Hi Scott, For every mail account Evolution sets up two virtual (or "search") folders: Trash and Junk. These folders show only the messages in your account that have been marked for deletion or marked as junk mail (respectively). These are the items with the special icons. The problem with this approach, and it's a long standing problem with Evolution, is that it infringes on the account's namespace. This is the situation you're in. There is currently no way to move or hide these two special search folders in each account. One could reasonably argue that they belong in the Search Folders section of the left "folder browser" pane. Matthew Barnes ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] Not able to choose Sent folder
I've got a question about configuring which Sent folder to use. After configuring my Zimbra account in Evo, when I go to the Defaults tab of the account preferences windows, the UI doesn't allow me to specify the "Sent" folder to use for that account. I can specify which "Drafts" folder to use, but not which "Sent" folder. Anybody have any idea why this is the case? Thanks, Scott ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] Multiple Trash and Junk folders
Hey all. I'm trying to track down a problem within the Zimbra Evolution Connector. It seems that everytime I setup a Zimbra account, my mail folder list contains two Trash and two Junk folders. One of them has a folder icon, and one has a "local" icon. Why is this happening, and what can I do to make it stop? Thanks, Scott ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers