re-design of new account assistant
Xavier Claessens <[email protected]> Thu, 21 Sep 2006 10:01:39 +0200
| Newsgroups | gmane.comp.gnome.gossip.devel |
|---|---|
| Message-ID | <1158825699.4748.30.camel@zdra-desktop> |
Hello, Now that we depend on GTK 2.10 we can move to GtkAssistant instead of GnomeDruid. I propose here to think about a re-design of the assistant with Telepathy in mind. 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. Thanks, Xavier. [1] http://bugzilla.gnome.org/show_bug.cgi?id=355797 _______________________________________________ Gossip-dev mailing list [email protected] http://lists.imendio.com/mailman/listinfo/gossip-dev
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQBFEkbj6dEBUn2qPAMRAjYsAJ4udL0UwD8ZyyYTS4pWLkiSOfF7QQCdEbc1 3Fgfj8iGmHIIvXp5VNZS1YI= =4XxI -----END PGP SIGNATURE-----