rename queryProjectLink icon to queryIcon.

Since this icon can be used at many different places,
rename this icon to have a generic name.

Change-Id: Ic5b7710d6b3a82ce063054c908e9203c1df450d2
This commit is contained in:
Raviteja Sunkara
2013-02-04 14:30:32 +05:30
parent 67c2538dee
commit 2d998f3b4f
3 changed files with 3 additions and 3 deletions

View File

@@ -46,8 +46,8 @@ public interface GerritResources extends ClientBundle {
@Source("downloadIcon.png")
public ImageResource downloadIcon();
@Source("queryProjectLink.png")
public ImageResource queryProjectLink();
@Source("queryIcon.png")
public ImageResource queryIcon();
@Source("addFileComment.png")
public ImageResource addFileComment();

View File

@@ -26,7 +26,7 @@ public class ProjectSearchLink extends InlineHyperlink {
public ProjectSearchLink(Project.NameKey projectName) {
super(" ", PageLinks.toProjectDashboard(projectName, "default"));
setTitle(Util.C.projectListQueryLink());
final Image image = new Image(Gerrit.RESOURCES.queryProjectLink());
final Image image = new Image(Gerrit.RESOURCES.queryIcon());
DOM.insertBefore(getElement(), image.getElement(),
DOM.getFirstChild(getElement()));
}