Parcourir la source

Add release number to titlebar

git-svn-id: http://svn.dmdirc.com/tags/0.1@230 00569f92-eb28-0410-84fd-f71c24880f
0.1
Chris Smith il y a 17 ans
Parent
révision
196fb2bf35

+ 1
- 1
src/uk/org/ownage/dmdirc/Channel.java Voir le fichier

@@ -136,7 +136,7 @@ public class Channel implements IChannelMessage, IChannelGotNames, IChannelTopic
136 136
         frame.setTitle(title);
137 137
         
138 138
         if (frame.isMaximum() && MainFrame.getMainFrame().getActiveFrame().equals(frame)) {
139
-            MainFrame.getMainFrame().setTitle("DMDirc - "+title);
139
+            MainFrame.getMainFrame().setTitle("DMDirc 0.1 - "+title);
140 140
         }
141 141
     }
142 142
     

+ 1
- 1
src/uk/org/ownage/dmdirc/ui/MainFrame.form Voir le fichier

@@ -36,7 +36,7 @@
36 36
   </NonVisualComponents>
37 37
   <Properties>
38 38
     <Property name="defaultCloseOperation" type="int" value="3"/>
39
-    <Property name="title" type="java.lang.String" value="DMDirc"/>
39
+    <Property name="title" type="java.lang.String" value="DMDirc 0.1"/>
40 40
   </Properties>
41 41
   <SyntheticProperties>
42 42
     <SyntheticProperty name="menuBar" type="java.lang.String" value="jMenuBar1"/>

+ 3
- 3
src/uk/org/ownage/dmdirc/ui/MainFrame.java Voir le fichier

@@ -143,9 +143,9 @@ public class MainFrame extends javax.swing.JFrame implements WindowListener {
143 143
         maximised = max;
144 144
         
145 145
         if (max && getActiveFrame() != null) {
146
-            setTitle("DMDirc - "+getActiveFrame().getTitle());
146
+            setTitle("DMDirc 0.1 - "+getActiveFrame().getTitle());
147 147
         } else if (!max) {
148
-            setTitle("DMDirc");
148
+            setTitle("DMDirc 0.1");
149 149
         }
150 150
         
151 151
         checkWindowState();
@@ -208,7 +208,7 @@ public class MainFrame extends javax.swing.JFrame implements WindowListener {
208 208
         toggleStateMenuItem = new javax.swing.JMenuItem();
209 209
 
210 210
         setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
211
-        setTitle("DMDirc");
211
+        setTitle("DMDirc 0.1");
212 212
         desktopPane.setBackground(new java.awt.Color(238, 238, 238));
213 213
 
214 214
         fileMenu.setMnemonic('f');

Chargement…
Annuler
Enregistrer