[empathy/gnome-2-28: 4/18] Instant-apply the "enabled" setting.
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-28: 4/18] Instant-apply the "enabled" setting.
- Date: Fri, 2 Oct 2009 16:36:54 +0000 (UTC)
commit fbf9d25b09b88cff6e6f36c1bfa83c0d37ca5312
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu Oct 1 17:52:50 2009 +0200
Instant-apply the "enabled" setting.
Conflicts:
libempathy-gtk/empathy-account-widget.c
libempathy-gtk/empathy-account-widget.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index a19ef65..02f5778 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -1081,9 +1081,12 @@ account_widget_switch_flipped_cb (NbtkGtkLightSwitch *sw,
{
EmpathyAccountWidgetPriv *priv = GET_PRIV (user_data);
EmpathyAccount *account;
+#ifndef HAVE_NBTK
gboolean state;
state = gtk_toggle_button_get_active (toggle_button);
+#endif
+
account = empathy_account_settings_get_account (priv->settings);
/* Enable the account according to the value of the "Enabled" checkbox */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]