From c43467a6cc9dbc9f1e9eab28ce9bfd2feed3f998 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 26 Aug 2010 16:59:27 +0200 Subject: insensitive treeview while loading --- src/empathy-accounts-dialog.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3