On Tue, Jan 13, 2009 at 4:48 PM, Yann Leboulanger <aste...@lagaule.org> wrote:
> Serge Matveenko wrote:
>> Hello!
>>
>> I've add several lines to the gajim code to allow grouping of the tabs
>> to windows by contact groups.
>>
>> Here is the patch for gajim-0.11.4 for sources from Ubuntu Hardy repo.
>
> great, thanks for the patch, but what happen if contact is in several
> groups? I see you only take care of the first group, but that can change
> from one connection to another. it's totaly random.

i don't think this is totally random, 'cause user is usually cares
about groups of the contacts and grouping by any of the groups given
to contact seems logical.

but you are right, its possible to have contacts "floating" from one
window to another...

i see several workarounds:
1. force user to define one and only one primary group for contact
2. sort groups alphabetically on window creation and than use first
group like now
3. try to choose open window for every group, that will cause more
grouped but not less random behavior

it looks for me that first solution looks best, but it will cause the
biggest code changes


-- 
Serge Matveenko
mailto:se...@matveenko.ru
http://serge.matveenko.ru/
_______________________________________________
Gajim-devel mailing list
Gajim-devel@gajim.org
http://lists.gajim.org/cgi-bin/listinfo/gajim-devel

Reply via email to