[ekiga/ds-gtk-application] Accounts: Do not update if the status did not change.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Accounts: Do not update if the status did not change.
- Date: Sun, 30 Nov 2014 16:30:49 +0000 (UTC)
commit cd814f04aacb579301dcfbcfb5020abdf900ee06
Author: Damien Sandras <dsandras seconix com>
Date: Sun Nov 30 17:29:43 2014 +0100
Accounts: Do not update if the status did not change.
lib/engine/components/opal/opal-account.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 495a4f4..cf5598d 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -1022,11 +1022,11 @@ Opal::Account::handle_registration_event (Ekiga::Account::RegistrationState stat
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, _("Edit"), boost::bind (&Opal::Account::edit,
(Opal::Account*) this)));
- boost::shared_ptr<Ekiga::NotificationCore> ncore = notification_core.lock ();
- if (ncore)
- ncore->push_notification (notif);
+ boost::shared_ptr<Ekiga::NotificationCore> ncore = notification_core.lock ();
+ if (ncore)
+ ncore->push_notification (notif);
+ updated ();
}
- updated ();
failed_registration_already_notified = true;
break;
default:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]