[ekiga] Don't propose adding an H.323 account if we don't support the protocol



commit d0206ade13f27e9c4f8a68eb0396c03d03fb0a05
Author: Julien Puydt <jpuydt free fr>
Date:   Fri Feb 8 15:37:31 2013 +0100

    Don't propose adding an H.323 account if we don't support the protocol

 lib/engine/components/opal/opal-bank.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-bank.cpp b/lib/engine/components/opal/opal-bank.cpp
index e911e11..0b333c7 100644
--- a/lib/engine/components/opal/opal-bank.cpp
+++ b/lib/engine/components/opal/opal-bank.cpp
@@ -122,8 +122,10 @@ Opal::Bank::populate_menu (Ekiga::MenuBuilder & builder)
 		      boost::bind (&Opal::Bank::new_account, this, Opal::Account::DiamondCard, "", ""));
   builder.add_action ("add", _("_Add a SIP Account"),
 		      boost::bind (&Opal::Bank::new_account, this, Opal::Account::SIP, "", ""));
+#ifdef HAVE_H323
   builder.add_action ("add", _("_Add an H.323 Account"),
 		      boost::bind (&Opal::Bank::new_account, this, Opal::Account::H323, "", ""));
+#endif
 
   return true;
 }


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