Skip to content

Commit

Permalink
version string as static field
Browse files Browse the repository at this point in the history
  • Loading branch information
abika committed Dec 20, 2014
1 parent aa33b83 commit f1f0475
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/org/kontalk/Kontalk.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
public final class Kontalk {
private final static Logger LOGGER = Logger.getLogger(Kontalk.class.getName());

public final static String VERSION = "0.01a";
private final static String CONFIG_DIR;

public enum Status {
Expand Down
2 changes: 1 addition & 1 deletion src/org/kontalk/view/MainFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public final void statusChanged(Kontalk.Status status) {

private void showAboutDialog() {
WebPanel aboutPanel = new WebPanel(new GridLayout(0, 1, 5, 5));
aboutPanel.add(new WebLabel("Kontalk Java Client v0.1"));
aboutPanel.add(new WebLabel("Kontalk Java Client v" + Kontalk.VERSION));
WebLinkLabel linkLabel = new WebLinkLabel();
linkLabel.setLink("http://www.kontalk.org");
linkLabel.setText("Visit kontalk.org");
Expand Down

0 comments on commit f1f0475

Please sign in to comment.