diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2018-12-12 19:07:50 +0100 |
---|---|---|
committer | Niels De Graef <nielsdegraef@gmail.com> | 2018-12-13 01:21:16 +0100 |
commit | a717f66b1be022c39551aca806bd5e02428ae923 (patch) | |
tree | 0c82ab47f1b99c02cdd6da39ebc9d9f5bfbb0ae2 /src/contacts-type-combo.vala | |
parent | 62cb8b7956f5edf6d35f69ab1bd7d397bbf1ce2a (diff) | |
download | gnome-contacts-a717f66b1be022c39551aca806bd5e02428ae923.tar.gz |
Typeset: remove custom_dummmy TypeDescriptor
This isn't supported (at the moment) anyway and only complicates things,
so let's get rid of it to simplify the code base a bit (we can always
reintroduce it later in a cleaner form).
Diffstat (limited to 'src/contacts-type-combo.vala')
-rw-r--r-- | src/contacts-type-combo.vala | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/contacts-type-combo.vala b/src/contacts-type-combo.vala index d9186be..6cdeede 100644 --- a/src/contacts-type-combo.vala +++ b/src/contacts-type-combo.vala @@ -113,15 +113,8 @@ public class Contacts.TypeCombo : Grid { modified = true; TreeIter iter; if (combo.get_active_iter (out iter)) { - if (type_set.is_custom (iter)) { - custom_mode = true; - entry.show (); - entry.grab_focus (); - combo.hide (); - } else { - last_active = iter; - this.changed (); - } + last_active = iter; + this.changed (); } } |