Skip to content

Commit d8acfb3

Browse files
committed
remove Icon Size
1 parent b4c5ae6 commit d8acfb3

File tree

8 files changed

+0
-92
lines changed

8 files changed

+0
-92
lines changed

Sources/SmartTaskbar.Win10/Helpers/IconSizeHelper.cs

Lines changed: 0 additions & 63 deletions
This file was deleted.

Sources/SmartTaskbar.Win10/Languages/LangName.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ public static class LangName
44
{
55
public const string TrayAbout = "tray_about";
66

7-
public const string TraySmallIcon = "tray_smallIcon";
8-
97
public const string TrayAnimation = "tray_animation";
108

119
public const string TrayAuto = "tray_auto";

Sources/SmartTaskbar.Win10/Languages/Resource.en-US.resx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,4 @@
132132
<data name="tray_showBarOnExit" xml:space="preserve">
133133
<value>Show the taskbar after exit</value>
134134
</data>
135-
<data name="tray_smallIcon" xml:space="preserve">
136-
<value>Small buttons</value>
137-
</data>
138135
</root>

Sources/SmartTaskbar.Win10/Languages/Resource.ru-RU.resx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,4 @@
132132
<data name="tray_showBarOnExit" xml:space="preserve">
133133
<value>Show the taskbar after exit</value>
134134
</data>
135-
<data name="tray_smallIcon" xml:space="preserve">
136-
<value>Маленькие кнопки</value>
137-
</data>
138135
</root>

Sources/SmartTaskbar.Win10/Languages/Resource.uk-UA.resx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,4 @@
132132
<data name="tray_showBarOnExit" xml:space="preserve">
133133
<value>Show the taskbar after exit</value>
134134
</data>
135-
<data name="tray_smallIcon" xml:space="preserve">
136-
<value>Маленькі кнопки</value>
137-
</data>
138135
</root>

Sources/SmartTaskbar.Win10/Languages/Resource.zh-CN.resx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,4 @@
132132
<data name="tray_showBarOnExit" xml:space="preserve">
133133
<value>退出后显示任务栏</value>
134134
</data>
135-
<data name="tray_smallIcon" xml:space="preserve">
136-
<value>小按钮</value>
137-
</data>
138135
</root>

Sources/SmartTaskbar.Win10/SmartTaskbar.Win10.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
<Compile Include="Helpers\AnimationHelper.cs" />
5858
<Compile Include="Helpers\AutoHideHelper.cs" />
5959
<Compile Include="Helpers\ClassName.cs" />
60-
<Compile Include="Helpers\IconSizeHelper.cs" />
6160
<Compile Include="Helpers\NativeMethods.cs" />
6261
<Compile Include="Helpers\UISettingsHelper.cs" />
6362
<Compile Include="Helpers\WindowVisible.cs" />

Sources/SmartTaskbar.Win10/Views/SystemTray.cs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ internal class SystemTray : ApplicationContext
2121
private readonly ToolStripMenuItem _exit;
2222
private readonly NotifyIcon _notifyIcon;
2323
private readonly ToolStripMenuItem _showTaskbarWhenExit;
24-
private readonly ToolStripMenuItem _smallIcon;
2524

2625
public SystemTray()
2726
{
@@ -36,11 +35,6 @@ public SystemTray()
3635
Text = resource.GetString(LangName.TrayAbout),
3736
Font = font
3837
};
39-
_smallIcon = new ToolStripMenuItem
40-
{
41-
Text = resource.GetString(LangName.TraySmallIcon),
42-
Font = font
43-
};
4438
_animation = new ToolStripMenuItem
4539
{
4640
Text = resource.GetString(LangName.TrayAnimation),
@@ -69,8 +63,6 @@ public SystemTray()
6963
_contextMenuStrip.Items.AddRange(new ToolStripItem[]
7064
{
7165
_about,
72-
new ToolStripSeparator(),
73-
_smallIcon,
7466
_animation,
7567
new ToolStripSeparator(),
7668
_autoMode,
@@ -92,8 +84,6 @@ public SystemTray()
9284

9385
_about.Click += AboutOnClick;
9486

95-
_smallIcon.Click += SmallIconOnClick;
96-
9787
_animation.Click += AnimationOnClick;
9888

9989
_autoMode.Click += AutoModeOnClick;
@@ -130,8 +120,6 @@ private void NotifyIconOnMouseClick(object s, MouseEventArgs e)
130120

131121
_animation.Checked = Fun.IsEnableTaskbarAnimation();
132122

133-
_smallIcon.Checked = Fun.IsUseSmallIcon();
134-
135123
_showTaskbarWhenExit.Checked = UserSettings.ShowTaskbarWhenExit;
136124

137125
switch (UserSettings.AutoModeType)
@@ -213,8 +201,6 @@ private void AutoModeOnClick(object s, EventArgs e)
213201

214202
private void AnimationOnClick(object s, EventArgs e) { _animation.Checked = Fun.ChangeTaskbarAnimation(); }
215203

216-
private void SmallIconOnClick(object s, EventArgs e) { Fun.ChangeIconSize(); }
217-
218204
private void AboutOnClick(object s, EventArgs e)
219205
{
220206
Process.Start(@"https://github.com/ChanpleCai/SmartTaskbar");

0 commit comments

Comments
 (0)