[ekiga] Accounts: Added Edit action in case of registration failure.



commit 52c514d5c34b07974a381219127da58652671eea
Author: Damien Sandras <dsandras beip be>
Date:   Sun May 6 15:43:48 2012 +0200

    Accounts: Added Edit action in case of registration failure.

 lib/engine/components/opal/opal-account.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index f235409..4d58c84 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -662,9 +662,8 @@ Opal::Account::handle_registration_event (RegistrationState state_,
         updated ();
         std::stringstream msg;
         msg << _("Could not register to ") << get_name ();
-        boost::shared_ptr<Ekiga::Notification> notif (new Ekiga::Notification (Ekiga::Notification::Warning, msg.str (), info));
+        boost::shared_ptr<Ekiga::Notification> notif (new Ekiga::Notification (Ekiga::Notification::Warning, msg.str (), info, _("Edit"), boost::bind (&Opal::Account::edit, (Opal::Account*) this)));
         notification_core->push_notification (notif);
-
       }
       failed_registration_already_notified = true;
       break;



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