Skip to content

Commit 7f34beb

Browse files
committed
Added program title and version string to resources. Upped to version 1.2
1 parent 3790ff8 commit 7f34beb

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

SimplePTT/ContextMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public ContextMenuStrip Create()
1717

1818
// Name
1919
item = new ToolStripMenuItem();
20-
item.Text = "SimplePTT 1.1";
20+
item.Text = Resources.ProgramTitle;
2121
item.Enabled = false;
2222
menu.Items.Add(item);
2323

SimplePTT/Resources.Designer.cs

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SimplePTT/Resources.resx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,7 @@
124124
<data name="GreyMicrophone" type="System.Resources.ResXFileRef, System.Windows.Forms">
125125
<value>Images\GreyMicrophone.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
126126
</data>
127+
<data name="ProgramTitle" xml:space="preserve">
128+
<value>SimplePTT 1.2</value>
129+
</data>
127130
</root>

SimplePTT/TrayIcon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public TrayIcon()
1818
mutedIcon = Resources.GreyMicrophone;
1919
openMicIcon = Resources.GreenMicrophone;
2020

21-
icon.Text = "SimplePTT 1.0";
21+
icon.Text = Resources.ProgramTitle;
2222
icon.Visible = true;
2323
icon.ContextMenuStrip = new ContextMenu().Create();
2424

0 commit comments

Comments
 (0)