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



commit a46a2ba575026f187907767d170c806ff868d05b
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 4c09826..2b8acf3 100644
--- a/lib/engine/components/opal/opal-bank.cpp
+++ b/lib/engine/components/opal/opal-bank.cpp
@@ -79,8 +79,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]