[Gossip-dev] re-design of new account assistant
Mikael Hallendal
micke at imendio.com
Tue Sep 26 08:56:07 CEST 2006
21 sep 2006 kl. 10.13 skrev Martyn Russell:
Hi,
>> With the rework of GossipAccount proposed [1] we will have an unknown
>> number of parameters to config. All those parameters shouldn't
>> always be
>> displayed to the user. So what I suggested to Eitan for the TELEPATHY
>> branch is having one GtkAssistant page for each known protocol to
>> display only useful information with a nice UI specialised for this
>> protocol (MSN, jabber, IRC, whatever is possible with telepathy).
>> If the
>> protocol is unknown (Gossip should work with unknown protocols
>> available
>> for free thanks to telepathy) we can make a special page which
>> displays
>> all parameters available but sorted with the
>> GOSSIP_ACCOUNT_PARAM_FLAG
>> to hide optional parameters. So the first page of the assistant
>> should
>> ask for the protocol and next pages should depend on the user's
>> choice.
>>
>> Like that we'll have one page for each known protocol (plus one for
>> unknown). This means we should create one GtkWidget for each,
>> containing
>> all we need to display to the user. This GtkWidget can be append
>> to the
>> GtkAssistant because gtk_assistant_append_page() takes a GtkWidget as
>> parameter (that differs from GnomeDruid). It will be then very
>> easy to
>> reuse this same widget for the accounts_dialog window. This avoid
>> current code duplication between the GnomeDruid pages and
>> accounts_dialog.
>>
>> I think all this can be implemented in HEAD even if we have only one
>> protocol (and none unknown) because with GossipAccount's rework it's
>> possible to implement all that in HEAD and would facilitate the
>> migration to telepathy in the future.
>>
>> Of course this is only suggestions waiting for comments.
>
> This all sounds good.
>
> Can I make a suggestion though, can we get all OTHER druid pages done
> first so it gives me time to properly commit and review the new
> account
> work? I think there are only 2 or 3 in all of Gossip. The add account
> druid and the add new user druid. I can't think of any others.
I think it might also be interesting to look into replacing these
with non-druids (if possible). There currently aren't many options
per page in the druid and it could easily be put into one dialog (or
possibly two with one generic where you chose protocol and one
protocol specific).
If it can all fit into one page we could have the second half of it
be protocol specific. This gives the upside that we can use the same
dialog for editing of your protocol.
Best Regards,
Mikael Hallendal
--
Imendio AB, http://www.imendio.com
More information about the Gossip-dev
mailing list