aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-26 22:59:27 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-26 23:23:01 +0800
commitc43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998 (patch)
tree9d09e6dc8d517d74d182bac77cb1ba1f818ddb4f
parentf3d884d8ddc2fbe3e2db3d333f41f03036ab71a4 (diff)
downloadgsoc2013-empathy-c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998.tar
gsoc2013-empathy-c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998.tar.gz
gsoc2013-empathy-c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998.tar.bz2
gsoc2013-empathy-c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998.tar.lz
gsoc2013-empathy-c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998.tar.xz
gsoc2013-empathy-c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998.tar.zst
gsoc2013-empathy-c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998.zip
insensitive treeview while loading
-rw-r--r--src/empathy-accounts-dialog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 994d85e06..4f09c0e22 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1875,6 +1875,7 @@ finished_loading (EmpathyAccountsDialog *self)
gtk_widget_set_sensitive (priv->button_add, TRUE);
gtk_widget_set_sensitive (priv->button_import, TRUE);
+ gtk_widget_set_sensitive (priv->treeview, TRUE);
gtk_spinner_stop (GTK_SPINNER (priv->spinner));
gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->notebook_account),
@@ -2065,9 +2066,11 @@ accounts_dialog_build_ui (EmpathyAccountsDialog *dialog)
/* Remove button is insensitive until we have a selected account */
gtk_widget_set_sensitive (priv->button_remove, FALSE);
- /* Add and Import buttons are insensitive while the dialog is loading */
+ /* Add and Import buttons and treeview are insensitive while the dialog
+ * is loading */
gtk_widget_set_sensitive (priv->button_add, FALSE);
gtk_widget_set_sensitive (priv->button_import, FALSE);
+ gtk_widget_set_sensitive (priv->treeview, FALSE);
priv->combobox_protocol = empathy_protocol_chooser_new ();
gtk_box_pack_start (GTK_BOX (priv->hbox_protocol), priv->combobox_protocol,