[gnome-calendar/search-improvements] window: reset query when entering search mode
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/search-improvements] window: reset query when entering search mode
- Date: Tue, 6 Jan 2015 00:18:35 +0000 (UTC)
commit 56522e901b4cbac88b2dd4d715384e8680ccca70
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Jan 5 22:18:26 2015 -0200
window: reset query when entering search mode
An empty query should show all events.
src/gcal-window.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 1304cab..a776e0b 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -1030,6 +1030,7 @@ search_toggled (GObject *object,
if (gtk_search_bar_get_search_mode (GTK_SEARCH_BAR (priv->search_bar)))
{
g_debug ("Entering search mode");
+ gcal_manager_set_query (priv->manager, NULL);
gtk_widget_show (priv->search_bar);
/* update header_bar widget */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]