[geary/wip/135-contact-popovers: 19/20] fixup 2c6424f90542e88ba4b30f57b549d43893e5db65
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/135-contact-popovers: 19/20] fixup 2c6424f90542e88ba4b30f57b549d43893e5db65
- Date: Sat, 16 Mar 2019 09:05:58 +0000 (UTC)
commit 4fe2de068447aaba26d851f63322deaef9cecee1
Author: Michael Gratton <mike vee net>
Date: Sat Mar 16 19:55:19 2019 +1100
fixup 2c6424f90542e88ba4b30f57b549d43893e5db65
src/client/application/application-contact.vala | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/client/application/application-contact.vala b/src/client/application/application-contact.vala
index d7dec40f..d504f42b 100644
--- a/src/client/application/application-contact.vala
+++ b/src/client/application/application-contact.vala
@@ -113,6 +113,13 @@ public class Application.Contact : Geary.BaseObject {
changed();
}
+ /** Sets remote resource loading for this contact. */
+ public async void set_favourite(bool is_favourite,
+ GLib.Cancellable? cancellable)
+ throws GLib.Error {
+ yield this.individual.change_is_favourite(is_favourite);
+ }
+
/** Returns a string representation for debugging */
public string to_string() {
return "Contact(\"%s\")".printf(this.display_name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]