diff options
author | Milan Crha <mcrha@redhat.com> | 2011-09-26 17:25:02 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-09-26 17:25:02 +0800 |
commit | 02615053d97d72e70bb598621db2dafda0917da7 (patch) | |
tree | 7b6a864b7f836c2310d9291550d9f8b38b1df81e /addressbook | |
parent | 41a504dcc1760e4f1265ffb4b070b1db2cec2c5f (diff) | |
download | gsoc2013-evolution-02615053d97d72e70bb598621db2dafda0917da7.tar gsoc2013-evolution-02615053d97d72e70bb598621db2dafda0917da7.tar.gz gsoc2013-evolution-02615053d97d72e70bb598621db2dafda0917da7.tar.bz2 gsoc2013-evolution-02615053d97d72e70bb598621db2dafda0917da7.tar.lz gsoc2013-evolution-02615053d97d72e70bb598621db2dafda0917da7.tar.xz gsoc2013-evolution-02615053d97d72e70bb598621db2dafda0917da7.tar.zst gsoc2013-evolution-02615053d97d72e70bb598621db2dafda0917da7.zip |
Bug #637673 - Make phone fields one row and auto-expand when needed
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 6ce9524afc..ea696f88b8 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -1327,7 +1327,7 @@ expand_phone (EContactEditor *editor, gboolean expanded) { const gchar *names[] = { - "entry-phone-2", "combobox-phone-2", + "entry-phone-3", "combobox-phone-3", "entry-phone-4", "combobox-phone-4", "table-phone-extended", NULL }; @@ -1401,7 +1401,7 @@ fill_in_phone_record (EContactEditor *editor, phone_type >= 0 ? phone_type : phones_default[record - 1]); set_entry_text (editor, GTK_ENTRY (phone_entry), phone ? phone : ""); - if (phone && *phone && record >= 5) + if (phone && *phone && record >= 3) expand_phone (editor, TRUE); } |