[Evolution-hackers] Evolution attributes

2004-09-08 Thread Kamani Bhavesh
Hello !
  I am a new user to evolution and I am making a portable
addressbook for evolution, Netscape-Addressbook and MS-outlook express.
I got all the attributes of the Netscape and MS-outlook but I can't get
the attributes of the Evolution Addressbook. 
If anybody knows then send me or send me link from where I can get.
 Thank you to every one.
Bhavesh.

___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Bug #127546 Gaim Evolution presence integration.

2004-09-08 Thread Not Zed





Wow, cool.

Ok there are some issues with the mail part of the patch, but they should be fixable fairly easily (well, 'fairly' is relative).

For starters you've put the formatter in the wrong place, it should really go only into the display formatter (emformathtmldisplay) - you don't really care for this information on printouts for example.

Secondly, you shouldn't be using g_object_set_data to set the EMIMPresence object onto the formatter - you need to just alllocate it directly in the EMFormatHTMLDisplay part.

The other problems are bigger. And that is the way the presence info is being passed back and forth. You're effevtively using a global variable to set it up, and then expecting it to format right. This is just wrong, nothing else does this, so it shouldn't do it either. Do not add a new uri type for it.

If you just want to insert an image, with no interactivity (which imho you don't want to do), you need to allocate a 'PURI' (pending uri), and then insert the image using the pending uri cid (content id) as the source. You'll get a callback when the uri is requested, and you can do whatever you want there. You really need to do this since the actual format_presence function *will* be called from another thread. So what you have will likely lead to crashes (unless somehow your code only calls mt-safe apis).

You actually probably want to insert a custom widget anyway, in which case you have to use a PObject (pending object), and that works similarly. That way you can do something if the user clicks on it. It also lets you do incremental/asynchronous processing easier since you have more control over it.

You really also need to make sure all of the backend processing, like looking up presence and so forth, is asynchronous. You can't block the whole mail display whilst you're looking up the presence information. The api's you're using look very synchronous.

The EMIMPresence stuff shouldn't be looking inside the emfolderview and listening to message list events AT ALL. It shouldn't need to know anything about totally unrelated widgets. It should be totally self contained. The api needs a bit of a re-think. The formatter needs to drive it completely, including initiating a query and updating the display when the query returns, etc. The formatter has access to the message - currently you're re-loading the message again for example. It should also be a proper gobject, so the formatter can listen to it and re-draw if it needs to.

Actually the way I would do it is: create a new widget type, EMPresenceIcon. In the formatter code in EMFormatHTMLDisplay), insert an object tag with the content-id of a newly-allocated HTMLPObject. In the object callback, instantiate the EMPresenceIcon and pass it the email address as a a constructor argument. This is all you do in the formatter. The EMPresenceIcon fires off a query at this point, and does nothing else. When the query comes back it updates itself. If it doesn't/and when the widget is destroyed, it just cleans everything up. Much simpler, fewer unrelated hooks which break abstraction layers (i.e. less spaghetti which is a maintenance nightmare), more efficient (no loading the message twice), and it gives you the option of making the icon a button you can do other cool things with.

You also have c99 stuff all over the place, you must define all of your variables in the declaration block before any statements occur (i.e. no in-line variable declarations). Apart from a standard we just use for portability - it makes the code a lot easier to maintain going forward (some might argue about that, but believe me it makes a difference).

On Tue, 2004-09-07 at 03:17 -0400, praveen kandikuppa wrote:


Hi,
Please refer to the patch posted at
http://bugzilla.gnome.org/show_bug.cgi?id=127546. The patch implements
all the required features as mentioned on the webpage
http://www.gnome.org/bounties/IM.html#127546 . I am posting the patch
here as a few issues are left unresolved and i would like to get some
feedback on the patch.

The following issues are unresolved and i would really like some help
solving them.

No presence information is added to the contact editor. I was not sure
where exactly to add. I asked this particular quetion on the list but
nobody replied. Also the screen names can be edited in the contact
editor and hence the presence information may not always be in sync
and i felt that it is really not needed as the information is
automatically updated in the addressbook view as soon as a contact is
modified/added/removed.

I could not make the columns showing presence info in addressbook
table default . Right now you have to right click on the table and add
the column IM Presence manually.

The floating dialog which appears when you click on presence icons is
closed as soon as mouse leaves the dialog box. Ideally it should stay
on as long as the mouse is clicked outside the dialog box.
Any pointers on solving the above two 

[Evolution-hackers] eplugin branch, startup-wizard

2004-09-08 Thread Not Zed





hi orl,

I just turned off the startup wizard in the plugin branch/to be 2.1 branch. It wont work with the new mail config editor, and i'm hoping it will be going away anyway.

Currently at startup evo just starts, and not until you need an account (i.e. you hit new mail) does it popup the normal mail-config druid.

 Z




-- 






Michael Zucchi [EMAIL PROTECTED]
born to die, live to work, it's all downhill from here
Novell's Evolution and Free Software Developer








attachment: zed-48.small.jpg


Re: [Evolution-hackers] eplugin branch, startup-wizard

2004-09-08 Thread JP Rosevear
On Wed, 2004-09-08 at 14:18 +0800, Not Zed wrote:
 
 hi orl,
 
 I just turned off the startup wizard in the plugin branch/to be 2.1
 branch.  It wont work with the new mail config editor, and i'm hoping
 it will be going away anyway.
 
 Currently at startup evo just starts, and not until you need an
 account (i.e. you hit new mail) does it popup the normal mail-config
 druid.

The one other spot we rely on the mailer having at least one account
that I know of is in the calendar for creating itip meetings (we list
the accounts in an option menu for the user to pick the organizer of
their meeting).

-JP
-- 
JP Rosevear [EMAIL PROTECTED]
Novell, Inc.

___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers


[Evolution-hackers] hi, ask a question about the GtkTreeView

2004-09-08 Thread shenghao
hi, all
  I meet a trouble when I add the accessibility to the GtkTreeView widget.
Would you like to spend a little time to give me some advice, please?
  I write the code as follow, But it not availability.
--
   address_widget = glade_xml_get_widget (e_contact_editor-gui,
text-address);
   a11y = gtk_widget_get_accessible (address_widget);
   if (a11y != NULL) {
   atk_object_set_name (a11y, _(address_lists[0]));
   }
--
* ***text-address*'s class** **is the GtkTreeView.
Thx a lot.
Best regards
hao.sheng*
___
evolution-hackers maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] eplugin branch, startup-wizard

2004-09-08 Thread Not Zed




On Wed, 2004-09-08 at 12:39 -0400, JP Rosevear wrote:


On Wed, 2004-09-08 at 14:18 +0800, Not Zed wrote:
 
 hi orl,
 
 I just turned off the startup wizard in the plugin branch/to be 2.1
 branch.  It wont work with the new mail config editor, and i'm hoping
 it will be going away anyway.
 
 Currently at startup evo just starts, and not until you need an
 account (i.e. you hit new mail) does it popup the normal mail-config
 druid.

The one other spot we rely on the mailer having at least one account
that I know of is in the calendar for creating itip meetings (we list
the accounts in an option menu for the user to pick the organizer of
their meeting).



Well that code should need to check you have an account anyway. Even with the startup wizard there's nothing to stop the user deleting all of their email accounts.

This uses a composer right?

I guess we could put a check in the composer factory.




-- 






Michael Zucchi [EMAIL PROTECTED]
born to die, live to work, it's all downhill from here
Novell's Evolution and Free Software Developer








attachment: zed-48.small.jpg


[Evolution] imap...synchronization chaos ;)

2004-09-08 Thread Gábor Farkas
hi,

i am using evolution-1.5.93.

when i create an imap account i have an option to:
Automatically synchronize remote mail locally.

and also when i right click an imap folder,
i have an option to:
Copy folder content locally for offline operation

i am confused..what those option do EXACTLY?

here's what i am trying to achieve:

for now i use offlineimap.
it's a program, that every 5 minutes synchronizes my remote
imap mailbox to a local maildir directory.

and i've set up evolution to read my mail from the local maildir
directory?
why?
because this way my mail stays on the server (so i can just delete/loose
my local copy without loosing any data), it's accessible from other
places too,
but it's also on my laptop, so i can read my already-downloaded mail
anytime.


is this possible to achieve with those offline-sync options in
evolution?

because when in the past i tested some mail clients, they only fetched
the mails
when you chose to go offline.
but that's not good enough. i don't want to have to do it manually, and
also don't
want to wait sooo looong while he fetches all my mail (offlineimap only
transfers
the differences, so it's pretty fast).

thanks,
gabor

p.s: is the subscription system working? i tried twice to subscribe to
this mailing list, but it did not work. i got the mail to reply to, and
i also replied, but that's all.

___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution


Re: [Evolution] imap...synchronization chaos ;)

2004-09-08 Thread Gábor Farkas
On Wed, 2004-09-08 at 16:47 +0800, Not Zed wrote:
 On Wed, 2004-09-08 at 10:14 +0200, Gbor Farkas wrote:  
  hi,

  when i create an imap account i have an option to:
  Automatically synchronize remote mail locally.
  
  and also when i right click an imap folder,
  i have an option to:
  Copy folder content locally for offline operation
 It means that messages will be copied to the local hard disk as they
 arrive on the server.  The old code used to just copy it when you
 'went offline', if it wasn't there already. 
unfortunately it does not seem to be like that.
i tried the following approach:

1. i created a new imap account in evolution
2. i turned on the auto-sync-remote-mails in the imap account settings
3. i have an INBOX, and also several subdirectories. one of them is
'burn'
4. the INBOX was automatically updated (the number of new mails was
shown),
but not the subdirectories
5. i pressed the send/receive button. the number of unread mails was
updated for all folders.
6. not that i did not went into any of the subdirs.
7. i stopped the network connection (/etc/init.d/net.eth0 stop)
8. i clicked on the 'burn' subdir.
9. evolution froze with a 'opening imap://blabla' in the status bar
10. i've killed evo because i did not want to wait (i assume there's a
timeout...)

so, it does not seem to sync it... :((

is this a bug?

i am using gentoo linux...
i've checked it, and gentoo only applies a small patch to 1.5.93, which
adds libcamel.la to the list of libraries...

(and i use your vertical-layout patch ;) ..btw. any chance of getting
this accepted into evo?)

so it seems i am using a pretty normal evo-1.5.93...

  
  is this possible to achieve with those offline-sync options in
  evolution?
 
  because when in the past i tested some mail clients, they only fetched
  the mails
  when you chose to go offline.
  but that's not good enough. i don't want to have to do it manually, and
  also don't
  want to wait sooo looong while he fetches all my mail (offlineimap only
  transfersthe differences, so it's pretty fast).
 See above.
 
 If you're using something that works, I suggest you just stick to
 that.  I would think offlineimap will be a lot faster at the actual
 data transfer than Evolution.  Evolution only transfers the new data
 required too, but the actual transfer speed suffers a lot if you have
 any latency in the link.
latency is not really an issue here,
because i am imap-fetching my mail always on broadband connections.
(when i am on a gprs connection, i use the goodo old ssh + mutt
combination ;)


thanks a lot,
gabor farkas

___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution


Re: [Evolution] imap...synchronization chaos ;)

2004-09-08 Thread Not Zed




On Wed, 2004-09-08 at 11:35 +0200, Gbor Farkas wrote:


On Wed, 2004-09-08 at 16:47 +0800, Not Zed wrote:
 On Wed, 2004-09-08 at 10:14 +0200, Gbor Farkas wrote:  
  hi,

  when i create an imap account i have an option to:
  Automatically synchronize remote mail locally.
  
  and also when i right click an imap folder,
  i have an option to:
  Copy folder content locally for offline operation
 It means that messages will be copied to the local hard disk as they
 arrive on the server.  The old code used to just copy it when you
 'went offline', if it wasn't there already. 
unfortunately it does not seem to be like that.
i tried the following approach:

1. i created a new imap account in evolution
2. i turned on the auto-sync-remote-mails in the imap account settings
3. i have an INBOX, and also several subdirectories. one of them is
'burn'
4. the INBOX was automatically updated (the number of new mails was
shown),
but not the subdirectories
5. i pressed the send/receive button. the number of unread mails was
updated for all folders.
6. not that i did not went into any of the subdirs.
7. i stopped the network connection (/etc/init.d/net.eth0 stop)
8. i clicked on the 'burn' subdir.
9. evolution froze with a 'opening imap://blabla' in the status bar
10. i've killed evo because i did not want to wait (i assume there's a
timeout...)





you still have to go offline manually if you drop the connection. the little connection button at the bottom of the window.



so, it does not seem to sync it... :((

is this a bug?



dont know.

you might have to restart for the connection to have full effect, in which case it will have to sync the previously opened folders manually (once). i.e. by going offline.

also it relies on some server flags which any client isn't guaranteed to get. so if they dont, again you need to go offline manually for it to sync properly.



i am using gentoo linux...
i've checked it, and gentoo only applies a small patch to 1.5.93, which
adds libcamel.la to the list of libraries...



gentoo does a lot of other dodgey things though.



(and i use your vertical-layout patch ;) ..btw. any chance of getting
this accepted into evo?)


i don't know. its not very usefor for everyone without a lot more work.


so it seems i am using a pretty normal evo-1.5.93...

  
  is this possible to achieve with those offline-sync options in
  evolution?
 
  because when in the past i tested some mail clients, they only fetched
  the mails
  when you chose to go offline.
  but that's not good enough. i don't want to have to do it manually, and
  also don't
  want to wait sooo looong while he fetches all my mail (offlineimap only
  transfersthe differences, so it's pretty fast).
 See above.
 
 If you're using something that works, I suggest you just stick to
 that.  I would think offlineimap will be a lot faster at the actual
 data transfer than Evolution.  Evolution only transfers the new data
 required too, but the actual transfer speed suffers a lot if you have
 any latency in the link.
latency is not really an issue here,
because i am imap-fetching my mail always on broadband connections.
(when i am on a gprs connection, i use the goodo old ssh + mutt
combination ;)


thanks a lot,
gabor farkas






-- 






Michael Zucchi [EMAIL PROTECTED]
born to die, live to work, it's all downhill from here
Novell's Evolution and Free Software Developer








attachment: zed-48.small.jpg


Re: [Evolution] imap...synchronization chaos ;)

2004-09-08 Thread Gábor Farkas
On Wed, 2004-09-08 at 20:52 +0800, Not Zed wrote:
 On Wed, 2004-09-08 at 11:35 +0200, Gbor Farkas wrote: 
  On Wed, 2004-09-08 at 16:47 +0800, Not Zed wrote:
   On Wed, 2004-09-08 at 10:14 +0200, Gbor Farkas wrote:  
hi,

  unfortunately it does not seem to be like that.
  i tried the following approach:
  
  1. i created a new imap account in evolution
  2. i turned on the auto-sync-remote-mails in the imap account settings
  3. i have an INBOX, and also several subdirectories. one of them is
  'burn'
  4. the INBOX was automatically updated (the number of new mails was
  shown),
  but not the subdirectories
  5. i pressed the send/receive button. the number of unread mails was
  updated for all folders.
  6. not that i did not went into any of the subdirs.
  7. i stopped the network connection (/etc/init.d/net.eth0 stop)
  8. i clicked on the 'burn' subdir.
  9. evolution froze with a 'opening imap://blabla' in the status bar
  10. i've killed evo because i did not want to wait (i assume there's a
  timeout...)
 
 you still have to go offline manually if you drop the connection.  the
 little connection button at the bottom of the window.

yes...but then it does not work like:


  It means that messages will be copied to the local hard disk as they
arrive on the
  server.  The old code used to just copy it when you 'went offline', 
  if it wasn't there already.

the new code also only copies if you go online :((

ok, i'll keep using offlineimap...

would it make sense to add a feature request to evolution-bugzilla to
have thic correctly implemented (kmail has something like that too
btw..)

gabor

___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution


Re: [Evolution] Evolution 2.0

2004-09-08 Thread Erik Bågfors

 
  3. Cut-and-paste  copy-and-paste do not function reliably, whether
  using the drop-down menu at Edit or using keyboard shortcuts
  (Ctrl-Insert, Ctrl-Del, and Shift-Insert, or Ctrl-C etc.). This is also
  true of OpenOffice and other apps.
  
 
 Yeah, a gnome issue.

Can someone explain this.  I hear lot's of people complaining about this
but never seen it.  What is it that doesn't work?

/Erik

___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution


Re: [Evolution] Connector Upgrade Conflict

2004-09-08 Thread Wise, Jeremey
No RSVP on this post but also, a new set up updates came out which again
try to install but fail on dependency. Should I download manually the
conflicting package and force and install?


On Tue, 2004-09-07 at 21:49 -0400, Wise, Jeremey wrote:
 I try to keep updated on the latest 1.5 build via Red-Carpet in my quest
 to get some 'hangings' out of evolution. I try to post the bugs via the
 bug-buddy and they keep getting closedissue is I can not download
 the fixed version (as listed in the post upon close) as red-carpet
 keeps showing a conflict of packages. I gave this a couple weeks as it
 has happened with other evolution pieces but I just wanted to get some
 input as to what I can do to fix it. I would really like to try the
 fixed version but wish to keep as pristine SuSE 9.1 with Red-Carpet
 full patch install as possible.
 
 Attached is the only output I can find to get which shows details of the
 conflict. Unfortunately it is a screen shot. Is their a better /text way
 to run red-carpet update so it can output errors such as this one so I
 can post to the group?

-- 
Thanks,

Jeremey Wise
[EMAIL PROTECTED]

All opinions or information expressed here are personal in nature and do
not reflect the official position of Agilysys Inc.
___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution


[Evolution] problems sending mail (mailbox

2004-09-08 Thread Laurie J.
I'm trying to get Evolution working w/verizon.  This
seems to be a well known problem (on both Debian and
other unix flavors) but I can't find a solution to it
on the web anywhere...  

I get an error: 

MAIL FROM response server: Requested action not taken:
mailbox name not allowed.

I'm running ximian evolution 1.4.6 and trying to
connect to outgoing.verizon.net..

I am running Evolution 1.4.5 on my laptop - which
works fine with another SMTP server.

Thanks if you have any hints... (It's not the pound
sign in the /etc/hosts file problem)...

ps - I can receive mail at [EMAIL PROTECTED] just
fine.. (so reply to that if you reply)  Thanks, Laurie


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution


Re: [Evolution] imap...synchronization chaos ;)

2004-09-08 Thread Not Zed




On Wed, 2004-09-08 at 15:39 +0200, Gbor Farkas wrote:


On Wed, 2004-09-08 at 20:52 +0800, Not Zed wrote:
 On Wed, 2004-09-08 at 11:35 +0200, Gbor Farkas wrote: 
  On Wed, 2004-09-08 at 16:47 +0800, Not Zed wrote:
   On Wed, 2004-09-08 at 10:14 +0200, Gbor Farkas wrote:  
hi,

  unfortunately it does not seem to be like that.
  i tried the following approach:
  
  1. i created a new imap account in evolution
  2. i turned on the auto-sync-remote-mails in the imap account settings
  3. i have an INBOX, and also several subdirectories. one of them is
  'burn'
  4. the INBOX was automatically updated (the number of new mails was
  shown),
  but not the subdirectories
  5. i pressed the send/receive button. the number of unread mails was
  updated for all folders.
  6. not that i did not went into any of the subdirs.
  7. i stopped the network connection (/etc/init.d/net.eth0 stop)
  8. i clicked on the 'burn' subdir.
  9. evolution froze with a 'opening imap://blabla' in the status bar
  10. i've killed evo because i did not want to wait (i assume there's a
  timeout...)
 
 you still have to go offline manually if you drop the connection.  the
 little connection button at the bottom of the window.

yes...but then it does not work like:


  It means that messages will be copied to the local hard disk as they
arrive on the
  server.  The old code used to just copy it when you 'went offline', 
  if it wasn't there already.

the new code also only copies if you go online :((





Uh, i explained cases where it does this. The new code does copy messages as they arrive, but 'arrive' depends on a lot of factors.

If you know the answer already why keep asking and just annoying me? I've got real work to do, i'm an engineer, not a support line.



ok, i'll keep using offlineimap...

would it make sense to add a feature request to evolution-bugzilla to
have thic correctly implemented (kmail has something like that too
btw..)

gabor






-- 






Michael Zucchi [EMAIL PROTECTED]
born to die, live to work, it's all downhill from here
Novell's Evolution and Free Software Developer








attachment: zed-48.small.jpg


Re: [Evolution] Connector Upgrade Conflict

2004-09-08 Thread Not Zed





I've noticed that sometimes you need to manually remove some of the conflicting packages when using red-carpet.

It can be a little hard to determine which packages are the right ones to remove, but if you can, you just do a rpm -e package and often thats all that you need to do to completely fix it.

On Tue, 2004-09-07 at 21:49 -0400, Wise, Jeremey wrote:


I try to keep updated on the latest 1.5 build via Red-Carpet in my quest
to get some 'hangings' out of evolution. I try to post the bugs via the
bug-buddy and they keep getting closedissue is I can not download
the fixed version (as listed in the post upon close) as red-carpet
keeps showing a conflict of packages. I gave this a couple weeks as it
has happened with other evolution pieces but I just wanted to get some
input as to what I can do to fix it. I would really like to try the
fixed version but wish to keep as pristine SuSE 9.1 with Red-Carpet
full patch install as possible.

Attached is the only output I can find to get which shows details of the
conflict. Unfortunately it is a screen shot. Is their a better /text way
to run red-carpet update so it can output errors such as this one so I
can post to the group?






-- 






Michael Zucchi [EMAIL PROTECTED]
born to die, live to work, it's all downhill from here
Novell's Evolution and Free Software Developer








attachment: zed-48.small.jpg


Re: [Evolution] problems sending mail (mailbox

2004-09-08 Thread Not Zed




On Tue, 2004-08-24 at 16:10 -0400, Laurie J. wrote:


I'm trying to get Evolution working w/verizon.  This
seems to be a well known problem (on both Debian and
other unix flavors) but I can't find a solution to it
on the web anywhere...  

I get an error: 

MAIL FROM response server: Requested action not taken:
mailbox name not allowed.



run evolution from a terminal with CAMEL_VERBOSE_DEBUG set in your environment.

its either getting bad data for some reason, or you're not authenticating to the smtp server when you need to be, so it is refusing to relay.


I'm running ximian evolution 1.4.6 and trying to
connect to outgoing.verizon.net..

I am running Evolution 1.4.5 on my laptop - which
works fine with another SMTP server.

Thanks if you have any hints... (It's not the pound
sign in the /etc/hosts file problem)...



you mean comments?



ps - I can receive mail at [EMAIL PROTECTED] just
fine.. (so reply to that if you reply)  Thanks, Laurie


___
evolution maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/evolution





-- 






Michael Zucchi [EMAIL PROTECTED]
born to die, live to work, it's all downhill from here
Novell's Evolution and Free Software Developer








attachment: zed-48.small.jpg