Browse Source

Fix issue 1200


git-svn-id: http://svn.dmdirc.com/trunk@3999 00569f92-eb28-0410-84fd-f71c24880f
tags/0.6
Shane Mc Cormack 16 years ago
parent
commit
1365a8d28c
2 changed files with 6 additions and 2 deletions
  1. 1
    1
      src/com/dmdirc/Main.java
  2. 5
    1
      src/com/dmdirc/ui/swing/MainFrame.java

+ 1
- 1
src/com/dmdirc/Main.java View File

@@ -53,7 +53,7 @@ public final class Main {
53 53
     public static final String VERSION = "SVN";
54 54
 
55 55
     /** The SVN revision that this build was made from. */
56
-    public static final int SVN_REVISION = 3950; // 3950; // 3950; // 3853;
56
+    public static final int SVN_REVISION = 3999;
57 57
 
58 58
     /** Stores the update channel that this version came from, if any. */
59 59
     public static final UpdateChannel UPDATE_CHANNEL = UpdateChannel.NONE;

+ 5
- 1
src/com/dmdirc/ui/swing/MainFrame.java View File

@@ -261,7 +261,11 @@ public final class MainFrame extends JFrame implements WindowListener,
261 261
     @Override
262 262
     public String getTitlePrefix() {
263 263
         if (showVersion) {
264
-            return "DMDirc " + Main.VERSION;
264
+            if ("SVN".equals(Main.VERSION)) {
265
+                return "DMDirc " + Main.VERSION + " (" + Main.SVN_REVISION + ")";
266
+            } else {
267
+                return "DMDirc " + Main.VERSION;
268
+            }
265 269
         } else {
266 270
             return "DMDirc";
267 271
         }

Loading…
Cancel
Save