Commit 60e8e80d authored by Niels De Graef's avatar Niels De Graef

ContactEditor: Don't show the "Linked Accounts" button

By executing `show_all()` on the whole ContactEditor, we show elements
again that we explicitly set to be invisible -for example the "Linked
Accounts" button which should not be shown for newly created contacts.

We should avoid show_all() as much as possible, but to refrain from
having large changes this late in the schedule, let's just call the
`show_all()` on the container grid, which does not have elements that
shouldn't be shown.

Reported in GNOME/gnome-contacts#124
parent fbf21fff
Pipeline #63001 passed with stage
in 11 minutes and 11 seconds
......@@ -142,7 +142,7 @@ public class Contacts.ContactEditor : ContactForm {
else
fill_in_empty ();
show_all ();
this.container_grid.show_all ();
}
private void fill_in_contact () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment