[evolution/gnome-3-20] Bug 765950 - Search bar text change should enable Next/Prev buttons
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-3-20] Bug 765950 - Search bar text change should enable Next/Prev buttons
- Date: Thu, 5 May 2016 10:33:24 +0000 (UTC)
commit f374f4da1fc7bd03b53eea525df3de737a88ecf1
Author: Milan Crha <mcrha redhat com>
Date: Thu May 5 12:30:10 2016 +0200
Bug 765950 - Search bar text change should enable Next/Prev buttons
e-util/e-search-bar.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/e-util/e-search-bar.c b/e-util/e-search-bar.c
index 2974a63..759956a 100644
--- a/e-util/e-search-bar.c
+++ b/e-util/e-search-bar.c
@@ -165,6 +165,9 @@ search_bar_find (ESearchBar *search_bar,
static void
search_bar_changed_cb (ESearchBar *search_bar)
{
+ gtk_widget_set_sensitive (search_bar->priv->next_button, TRUE);
+ gtk_widget_set_sensitive (search_bar->priv->prev_button, TRUE);
+
g_object_notify (G_OBJECT (search_bar), "text");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]