[ekiga/ds-gtk-application] History Book: Better comment.



commit cf4f7a4c9219e9cfe7d76e84c2762987506b2252
Author: Damien Sandras <dsandras beip be>
Date:   Sun Mar 16 15:19:05 2014 +0100

    History Book: Better comment.

 .../components/call-history/history-book.cpp       |    2 +-
 lib/engine/engine.cpp                              |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/call-history/history-book.cpp 
b/lib/engine/components/call-history/history-book.cpp
index 6640d8f..9d6fb36 100644
--- a/lib/engine/components/call-history/history-book.cpp
+++ b/lib/engine/components/call-history/history-book.cpp
@@ -83,7 +83,7 @@ History::Book::Book (Ekiga::ServiceCore& core):
 
   enforce_size_limit ();
 
-  /* Ready to take actions */
+  /* Actor actions should be added */
   register_actions ();
 }
 
diff --git a/lib/engine/engine.cpp b/lib/engine/engine.cpp
index c06e560..632fd41 100644
--- a/lib/engine/engine.cpp
+++ b/lib/engine/engine.cpp
@@ -123,6 +123,12 @@ engine_init (Ekiga::ServiceCorePtr service_core,
   service_core->add (details);
   service_core->add (presence_core);
 
+  // Register actions
+  // FIXME: Perhaps this should be automated
+  // but I did not want to pass the contactcore as
+  // argument of the callcore...
+  call_core->register_actions (contact_core);
+
   if (!videoinput_mlogo_init (*service_core, &argc, &argv)) {
     return;
   }


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