diff options
author | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-07-08 18:26:40 +0800 |
---|---|---|
committer | Xavier Claessens <xavier.claessens@collabora.co.uk> | 2013-07-08 18:43:39 +0800 |
commit | 3823c48231c9a81c4e916057ff8de6245d7d112a (patch) | |
tree | 3413c8237d66a2c9cc2c9f5876d2f862de48c831 | |
parent | a97c124798eea75187267f92d0e8f43beed07877 (diff) | |
download | gsoc2013-empathy-3823c48231c9a81c4e916057ff8de6245d7d112a.tar gsoc2013-empathy-3823c48231c9a81c4e916057ff8de6245d7d112a.tar.gz gsoc2013-empathy-3823c48231c9a81c4e916057ff8de6245d7d112a.tar.bz2 gsoc2013-empathy-3823c48231c9a81c4e916057ff8de6245d7d112a.tar.lz gsoc2013-empathy-3823c48231c9a81c4e916057ff8de6245d7d112a.tar.xz gsoc2013-empathy-3823c48231c9a81c4e916057ff8de6245d7d112a.tar.zst gsoc2013-empathy-3823c48231c9a81c4e916057ff8de6245d7d112a.zip |
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
-rw-r--r-- | libempathy-gtk/empathy-contact-search-dialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-search-dialog.c b/libempathy-gtk/empathy-contact-search-dialog.c index 33a60ff75..e5810597b 100644 --- a/libempathy-gtk/empathy-contact-search-dialog.c +++ b/libempathy-gtk/empathy-contact-search-dialog.c @@ -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)); |