[empathy] empathy_account_widget_setup_widget: unsensitive unsupported param (#650846)



commit 043fadc328839eb7c4bd893de81b6409509b54b2
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon May 23 12:21:13 2011 +0200

    empathy_account_widget_setup_widget: unsensitive unsupported param (#650846)

 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 dfa9ecd..7017efa 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -667,6 +667,9 @@ empathy_account_widget_setup_widget (EmpathyAccountWidget *self,
     {
       DEBUG ("Unknown type of widget for param %s", param_name);
     }
+
+  gtk_widget_set_sensitive (widget,
+      empathy_account_settings_param_is_supported (priv->settings, param_name));
 }
 
 static GHashTable *



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