[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kopete-devel
Subject:    [kopete-devel] Re: Ability of plugin to set popup menu entry and
From:       Richard Smith <kde () metafoo ! co ! uk>
Date:       2005-01-29 14:37:47
Message-ID: 200501291437.47804.kde () metafoo ! co ! uk
[Download RAW message or body]

On Saturday 29 January 2005 13:15, Jason Keirstead wrote:
> For reference... last night on IRC I told Oliver I think it would be OK,
> now that I think about it, to just store the XML string. Here is why:
>
> On January 29, 2005 06:58 am, Richard Smith wrote:
> > That means we can't as easily do nice things (contact-specific) in
> > tooltips, in context menus and so on.
>
> If you need contact specific info, you can always just navigate the XML DOM
> to get his contactId and look him up.

'Just' is an evil word. Plugins shouldn't have to know anything about the XML 
message structure, in my opinion...

> > And it doesn't solve the same problem
> > as it relates to the History plugin.
>
> The history plugin can also navigate the dom.

That's a nasty solution. It's a recipe for bugs.

> > On the plus side, it would save some
> > memory.
>
> Actually - this is the weird part. Using an XML string is going to take
> more memory, I am quite sure.

I guess you're right. Now I'm only seeing downsides.
-- 
Thanks,
Richard
_______________________________________________
kopete-devel mailing list
kopete-devel@kde.org
https://mail.kde.org/mailman/listinfo/kopete-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic