Remove fancy window hiding and use old app icon
This commit is contained in:
parent
721760852e
commit
2f882f11d5
@ -314,18 +314,7 @@ public partial class MainWindow : Window
|
||||
Iconify();
|
||||
SkipPagerHint = true;
|
||||
SkipTaskbarHint = true;
|
||||
|
||||
// Changing the visible property needs to be
|
||||
// delayed for the window to start minimizing
|
||||
Thread thread = new Thread(() =>
|
||||
{
|
||||
Thread.Sleep(100);
|
||||
Visible = false;
|
||||
})
|
||||
{
|
||||
IsBackground = true
|
||||
};
|
||||
thread.Start();
|
||||
|
||||
UpdateTrayMenu();
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 16 KiB |
@ -4,6 +4,7 @@
|
||||
<images-root-path>..</images-root-path>
|
||||
</configuration>
|
||||
<import>
|
||||
<widget-library name="glade-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
|
||||
<widget-library name="../net-libs/appindicator3-sharp.dll" />
|
||||
<widget-library name="../bin/Debug/MelonVPNClient.exe" internal="true" />
|
||||
</import>
|
||||
|
Loading…
Reference in New Issue
Block a user