[gnome-documents] mainToolbar: remove search state detail indication from the title



commit b8f8ffd698ccf1c36f6ae6c6f87bb28a8b4771da
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Feb 19 19:04:30 2013 -0500

    mainToolbar: remove search state detail indication from the title
    
    We already have tags visible while searching that deliver the same
    information.

 src/mainToolbar.js |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/mainToolbar.js b/src/mainToolbar.js
index 2941c30..77f6772 100644
--- a/src/mainToolbar.js
+++ b/src/mainToolbar.js
@@ -135,21 +135,11 @@ const OverviewToolbar = new Lang.Class({
 
                 if (string == '') {
                     let searchType = Application.searchTypeManager.getActiveItem();
-                    let searchSource = Application.sourceManager.getActiveItem();
 
                     if (searchType.id != 'all')
                         primary = searchType.name;
-
-                    if (searchSource.id != 'all')
-                        detail = searchSource.name;
                 } else {
-                    let searchMatch = Application.searchMatchManager.getActiveItem();
-
                     primary = _("Results for ā€œ%sā€").format(string);
-                    if (searchMatch.id == 'title')
-                        detail = _("filtered by title");
-                    else if (searchMatch.id == 'author')
-                        detail = _("filtered by author");
                 }
             }
         } else {


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