[gnome-contacts] Make enter/exit edit more signals so we don't have to derive always.



commit 1c00b8d6a39b1a2ef6cb892afe3ab9ff91c7fb55
Author: Alexander Larsson <alexl redhat com>
Date:   Mon Dec 19 12:04:32 2011 +0100

    Make enter/exit edit more signals so we don't have to derive always.

 src/contacts-contact-pane.vala |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/contacts-contact-pane.vala b/src/contacts-contact-pane.vala
index 4f7f5d1..16fdaba 100644
--- a/src/contacts-contact-pane.vala
+++ b/src/contacts-contact-pane.vala
@@ -291,11 +291,12 @@ public class Contacts.FieldRow : Contacts.Row {
     return b;
   }
 
-  public virtual bool enter_edit_mode () {
+
+  public virtual signal bool enter_edit_mode () {
     return false;
   }
 
-  public virtual void exit_edit_mode (bool save) {
+  public virtual signal void exit_edit_mode (bool save) {
   }
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]