[gnome-software] search: Don't ignore duplicate searches



commit 57c08941f161ca7df20a77f6df39ddbc89072acb
Author: Kalev Lember <kalevlember gmail com>
Date:   Thu Oct 9 16:44:49 2014 +0200

    search: Don't ignore duplicate searches
    
    Otherwise searching for the same string twice in gnome-shell leads to
    the details page not coming up the second time.

 src/gs-shell-search.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-shell-search.c b/src/gs-shell-search.c
index 13f4e5f..81a2f42 100644
--- a/src/gs-shell-search.c
+++ b/src/gs-shell-search.c
@@ -388,9 +388,6 @@ gs_shell_search_switch_to (GsShellSearch *shell_search, const gchar *value, gboo
                 gtk_adjustment_set_value (adj, gtk_adjustment_get_lower (adj));
         }
 
-       if (g_strcmp0 (value, priv->value) == 0)
-               return;
-
        g_free (priv->value);
        priv->value = g_strdup (value);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]