Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErich Gamma2004-04-07 10:40:50 +0000
committerErich Gamma2004-04-07 10:40:50 +0000
commite1878c4b4cc2e145b679f0ec3bfd27fba0e92890 (patch)
treeb4e855a0cd2240640664c14c51d1c3cadbd2b342
parent9436f79d714008a75fdb021f5e4974c7f4fa3974 (diff)
downloadeclipse.platform.text-e1878c4b4cc2e145b679f0ec3bfd27fba0e92890.tar.gz
eclipse.platform.text-e1878c4b4cc2e145b679f0ec3bfd27fba0e92890.tar.xz
eclipse.platform.text-e1878c4b4cc2e145b679f0ec3bfd27fba0e92890.zip
removed workaround for bug 53391
-rw-r--r--org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchMessages.properties1
-rw-r--r--org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchView.java12
2 files changed, 1 insertions, 12 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchMessages.properties b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchMessages.properties
index acc4af2ee..ffaa99fab 100644
--- a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchMessages.properties
+++ b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchMessages.properties
@@ -9,7 +9,6 @@ ShowSearchesAction.dialog.title=Show Search
ShowSearchesAction.dialog.message=Select a search to display its results
SearchView.empty.message=No Search Results Available
SearchView.title.search=Search
-SearchView.title.running= [running]
RemoveAllSearchesAction.label=Clear History
RemoveAllSearchesAction.tooltip=Clear Search History
RemoveAllResultsAction.label=Remove All Matches
diff --git a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchView.java b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchView.java
index 91f1b78ba..f06fedf3d 100644
--- a/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchView.java
+++ b/org.eclipse.search/new search/org/eclipse/search2/internal/ui/SearchView.java
@@ -260,21 +260,11 @@ public class SearchView extends PageBookView implements ISearchResultViewPart, I
}
private void updateTitle(ISearchResult search) {
- String label= SearchMessages.getString("SearchView.title.search"); //$NON-NLS-1$
-
- // TODO workaround for bug 53391
- label+= "("; //$NON-NLS-1$
if (search != null) {
boolean queryRunning= InternalSearchUI.getInstance().isQueryRunning(search.getQuery());
fCancelAction.setEnabled(queryRunning);
- if (queryRunning) {
- label= label+SearchMessages.getString("SearchView.title.running"); //$NON-NLS-1$
- }
- label= label+" "+search.getLabel(); //$NON-NLS-1$ //$NON-NLS-2$
}
- // TODO workaround for bug 53391
- label+= ")"; //$NON-NLS-1$
- setTitle(label);
+ setTitle(search.getLabel());
}
public void updateTitle() {

Back to the top