repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c72728
)
fixed - show/hide toggle when hiding the app via the taskbar
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sat, 6 Oct 2012 18:44:14 +0000
(20:44 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sat, 6 Oct 2012 18:44:14 +0000
(20:44 +0200)
src/LibCecTray/ui/CECTray.cs
patch
|
blob
|
blame
|
history
diff --git
a/src/LibCecTray/ui/CECTray.cs
b/src/LibCecTray/ui/CECTray.cs
index e8dd66b584b8817ad6e5b505d455b17269c81602..a781ce73049fa658b858e1d04dbafaba96436628 100644
(file)
--- a/
src/LibCecTray/ui/CECTray.cs
+++ b/
src/LibCecTray/ui/CECTray.cs
@@
-390,17
+390,9
@@
namespace LibCECTray.ui
private void CECTrayResize(object sender, EventArgs e)
{
if (WindowState == FormWindowState.Minimized)
- {
- ShowInTaskbar = false;
- tsMenuShowHide.Text = Resources.show;
- _controller.Settings.StartHidden.Value = true;
- }
+ Hide();
else
- {
- ShowInTaskbar = true;
- tsMenuShowHide.Text = Resources.hide;
- _controller.Settings.StartHidden.Value = false;
- }
+ Show();
}
private void TsMenuShowHideClick(object sender, EventArgs e)