summaryrefslogtreecommitdiff
path: root/src/contacts-contact-list.vala
Commit message (Collapse)AuthorAgeFilesLines
* Store: add contacts in a separate thread.Niels De Graef2018-04-081-0/+1
| | | | | | This should help with issue #75 by not blocking the main thread anymore when adding a huge amount of contacts (which is almost always the case when starting Contacts).
* ContactList: don't call Settings on each sort.Niels De Graef2018-04-081-5/+7
| | | | | This was being called *a lot* without the value being cached. This should improve that.
* Contact: make hidden a property & cleanup the code.Niels De Graef2018-04-021-1/+2
|
* Allow sorting by first name or surname.Niels De Graef2018-02-051-3/+19
| | | | Fixes #54.
* ContactList: don't use a separate map for contacts.Niels De Graef2018-01-231-17/+17
|
* ContactList: simplify sorting function.Niels De Graef2018-01-231-14/+5
| | | | | | Individual.display_name is never null. Also, refrain from using trivial anonymous lambdas, for easier debugging.
* ContactList: right-click == checkbox toggle in selection mode.Niels De Graef2018-01-221-1/+1
| | | | | This, together with the previous commit, fixes [bug 703201](https://bugzilla.gnome.org/show_bug.cgi?id=703201).
* ContactList: start select mode on right click.Niels De Graef2018-01-221-1/+13
|
* Don't use anonymous lambdas if not necessary.Niels De Graef2018-01-221-2/+2
| | | | | This is effectively a function call less, *and* it's easier to debug in a stracktrace if necessary.
* Avatar: lazily load the Pixbuf of the avatar.Niels De Graef2018-01-221-2/+1
| | | | This should again decrease our memory usage in most cases.
* Contact: Remove display_name property.Niels De Graef2018-01-221-2/+2
| | | | | It's just a shorthand for `individual.display_name`, so make that more explicit.
* ContactList: set visible = true earlier.Niels De Graef2018-01-221-2/+1
| | | | This makes sure we don't show an empty list as contacts are being added.
* ContactDataRow: prevent display name from "twitching".Niels De Graef2018-01-221-7/+9
| | | | | | Every time we hover over a row in the ContactList, it adds a checkbox. However, this made the display name of the contact change position a tiny bit, making it "twitch" a little bit.
* Window: use a single function for contact deletion.Niels De Graef2018-01-221-2/+2
| | | | This removes some copy-pasta.
* ContactList: use a SimpleQuery for the search filter.Niels De Graef2018-01-211-45/+11
| | | | | | This also lets us remove a lot of code where the filtered-status of a contact was saved (which led to more memory usage). So hurray for less bloat and less memory usage!
* ContactList: minor checkbox UI tweaksNiels De Graef2018-01-211-7/+12
| | | | | | * Don't hide the checkbox of a row if we're still hovering over it. * Add a bit of margin so the checkbox doesn't overlap with the scrollbar. * Clean up a bit
* ContactList: only show checkbox on hover.Niels De Graef2018-01-211-14/+37
| | | | | | | * Removed the select_button in ContactWindow (as selection_mode is implicitly started by selecting a checkbox). * Updated the cancel_select_button with a new icon (complying with the new mockups).
* ContactList: use and sync the UiState.Niels De Graef2018-01-211-20/+18
|
* Avatar: load asynchronously.Niels De Graef2018-01-201-1/+1
| | | | This fixes [bug 657962](https://bugzilla.gnome.org/show_bug.cgi?id=657962).
* Avatar: cleaner UI.Niels De Graef2018-01-191-1/+3
| | | | | | * Always clip to a circle. * In case there is no avatar, use a specific color for each contact and draw a default icon on top if it.
* ContactList: show Favorites separately at the top.Niels De Graef2018-01-181-5/+48
| | | | See also [bug 792026](https://bugzilla.gnome.org/show_bug.cgi?id=792026).
* Simplify Avatar stylingNiels De Graef2018-01-161-2/+0
|
* Rename ContactFrame to Avatar.Niels De Graef2018-01-161-6/+6
| | | | It's shorter *and* it's more obvious.
* Make telepathy dependency optionalCosimo Cecchi2018-01-011-0/+2
| | | | | | | Telepathy is on the way out; remove the mandatory dependency from gnome-contacts. https://bugzilla.gnome.org/show_bug.cgi?id=790037
* ContactsList: prefer iterating over rows rather than HashMap values.Niels De Graef2017-12-261-10/+14
|
* Rename View to the more obvious ContactList.Niels De Graef2017-12-261-0/+227