]> source.dussan.org Git - gitblit.git/commitdiff
Added status icon
authorJames Moger <james.moger@gitblit.com>
Wed, 26 Oct 2011 21:54:07 +0000 (17:54 -0400)
committerJames Moger <james.moger@gitblit.com>
Wed, 26 Oct 2011 21:54:07 +0000 (17:54 -0400)
build.xml
resources/health_16x16.png [new file with mode: 0644]
src/com/gitblit/client/StatusPanel.java

index d6dcbf08c8d4e30056a1c45644c790afd82dd719..cdb0ac3930131376a2e36b974f277db9bb7f8d0f 100644 (file)
--- a/build.xml
+++ b/build.xml
                        <resource file="${basedir}/resources/cold_16x16.png" />\r
                        <resource file="${basedir}/resources/book_16x16.png" />\r
                        <resource file="${basedir}/resources/bug_16x16.png" />\r
+                       <resource file="${basedir}/resources/health_16x16.png" />\r
                        <resource file="${basedir}/resources/blank.png" />\r
                        <resource file="${basedir}/src/com/gitblit/wicket/GitBlitWebApp.properties" />\r
                                \r
diff --git a/resources/health_16x16.png b/resources/health_16x16.png
new file mode 100644 (file)
index 0000000..de43e4b
Binary files /dev/null and b/resources/health_16x16.png differ
index 9015c80f78b34106a128d7efe34a1174fd4f1087..551d865d856e8502e22a050dc4a7c5ab00bf6721 100644 (file)
@@ -83,7 +83,7 @@ public class StatusPanel extends JPanel {
                centerPanel.add(fieldsPanel, BorderLayout.NORTH);\r
                centerPanel.add(new JScrollPane(propertiesTable), BorderLayout.CENTER);\r
 \r
-               headerPanel = new HeaderPanel(Translation.get("gb.status"), null);\r
+               headerPanel = new HeaderPanel(Translation.get("gb.status"), "health_16x16.png");\r
                setLayout(new BorderLayout());\r
                add(headerPanel, BorderLayout.NORTH);\r
                add(centerPanel, BorderLayout.CENTER);\r