Commit 3823c482 authored by Xavier Claessens's avatar Xavier Claessens

EmpathySearchContactDialog: Set search entry insensitive when search is not supported

There is no point in letting user type something if the search
button is insensitive anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=703775
parent a97c1247
......@@ -337,6 +337,7 @@ on_searcher_created (GObject *source_object,
G_CALLBACK (_on_search_state_changed_cb), self);
gtk_widget_set_sensitive (priv->find_button, TRUE);
gtk_widget_set_sensitive (priv->search_entry, TRUE);
}
static void
......@@ -385,6 +386,7 @@ _account_chooser_changed (EmpathyAccountChooser *chooser,
/* gtk_widget_set_sensitive (priv->server_entry, can_set_server); */
gtk_widget_set_sensitive (priv->find_button, FALSE);
gtk_widget_set_sensitive (priv->search_entry, FALSE);
DEBUG ("New account is %s", tp_proxy_get_object_path (account));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment