diff options
author | Gilles Dartiguelongue <gdartigu@svn.gnome.org> | 2007-07-07 19:31:00 +0800 |
---|---|---|
committer | Gilles Dartiguelongue <gdartigu@src.gnome.org> | 2007-07-07 19:31:00 +0800 |
commit | a730e63617f6d6848d48a59e5a8607b906b72668 (patch) | |
tree | 3d6c5218a9983d0770382de2c12b3e266518ec30 /addressbook/gui/contact-editor/e-contact-editor.c | |
parent | 5d21488b98b22c3ec638eb45b2ea849032a33a8b (diff) | |
download | gsoc2013-evolution-a730e63617f6d6848d48a59e5a8607b906b72668.tar gsoc2013-evolution-a730e63617f6d6848d48a59e5a8607b906b72668.tar.gz gsoc2013-evolution-a730e63617f6d6848d48a59e5a8607b906b72668.tar.bz2 gsoc2013-evolution-a730e63617f6d6848d48a59e5a8607b906b72668.tar.lz gsoc2013-evolution-a730e63617f6d6848d48a59e5a8607b906b72668.tar.xz gsoc2013-evolution-a730e63617f6d6848d48a59e5a8607b906b72668.tar.zst gsoc2013-evolution-a730e63617f6d6848d48a59e5a8607b906b72668.zip |
** Fix for bug #448568
2007-07-07 Gilles Dartiguelongue <gdartigu@svn.gnome.org>
** Fix for bug #448568
* gui/contact-editor/contact-editor.glade:
* gui/contact-editor/e-contact-editor.c: (setup_tab_order):
cleanup alignement mess and set correct tabbing order. Thanks
to vinod for the initial glade patch.
svn path=/trunk/; revision=33766
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-editor.c')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index ab1978f627..babd645b81 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -3248,7 +3248,7 @@ setup_tab_order(GladeXML *gui) { GtkWidget *container; GList *list = NULL; - +/* container = glade_xml_get_widget(gui, "table-contact-editor-general"); if (container) { @@ -3271,6 +3271,49 @@ setup_tab_order(GladeXML *gui) e_container_change_tab_order(GTK_CONTAINER(container), list); g_list_free(list); } +*/ + + container = glade_xml_get_widget (gui, "table-home-address"); + gtk_container_get_focus_chain (GTK_CONTAINER (container), &list); + + list = add_to_tab_order (list, gui, "scrolledwindow-home-address"); + list = add_to_tab_order (list, gui, "entry-home-city"); + list = add_to_tab_order (list, gui, "entry-home-zip"); + list = add_to_tab_order (list, gui, "entry-home-state"); + list = add_to_tab_order (list, gui, "entry-home-pobox"); + list = add_to_tab_order (list, gui, "entry-home-country"); + list = g_list_reverse (list); + + gtk_container_set_focus_chain (GTK_CONTAINER (container), list); + g_list_free (list); + + container = glade_xml_get_widget (gui, "table-work-address"); + gtk_container_get_focus_chain (GTK_CONTAINER (container), &list); + + list = add_to_tab_order (list, gui, "scrolledwindow-work-address"); + list = add_to_tab_order (list, gui, "entry-work-city"); + list = add_to_tab_order (list, gui, "entry-work-zip"); + list = add_to_tab_order (list, gui, "entry-work-state"); + list = add_to_tab_order (list, gui, "entry-work-pobox"); + list = add_to_tab_order (list, gui, "entry-work-country"); + list = g_list_reverse (list); + + gtk_container_set_focus_chain (GTK_CONTAINER (container), list); + g_list_free (list); + + container = glade_xml_get_widget (gui, "table-other-address"); + gtk_container_get_focus_chain (GTK_CONTAINER (container), &list); + + list = add_to_tab_order (list, gui, "scrolledwindow-other-address"); + list = add_to_tab_order (list, gui, "entry-other-city"); + list = add_to_tab_order (list, gui, "entry-other-zip"); + list = add_to_tab_order (list, gui, "entry-other-state"); + list = add_to_tab_order (list, gui, "entry-other-pobox"); + list = add_to_tab_order (list, gui, "entry-other-country"); + list = g_list_reverse (list); + + gtk_container_set_focus_chain (GTK_CONTAINER (container), list); + g_list_free (list); } static void |