aboutsummaryrefslogtreecommitdiff
path: root/ui.cpp
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-06-22 03:45:37 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-06-22 03:45:37 +0000
commitbed3ad104e038259654ceb257d746ab4cb6479c5 (patch)
treeb2b53f4da6404fa521fc5b9d9b4c99d6ff8b8ef8 /ui.cpp
parentdbe23aadaea44a4078f9975681af37e37f40b427 (diff)
downloadbitcoin-bed3ad104e038259654ceb257d746ab4cb6479c5.tar.xz
re-enable hiding taskbar button on minimize on linux, though it doesn't work cleanly
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui.cpp b/ui.cpp
index e51c1e2e5d..42da9ca38a 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -375,13 +375,13 @@ void CMainFrame::OnIconize(wxIconizeEvent& event)
// to get rid of the deprecated warning. Just ignore it.
if (!event.Iconized())
fClosedToTray = false;
-#ifdef __WXMSW__
+//#ifdef __WXMSW__
// The tray icon sometimes disappears on ubuntu karmic
- // Hiding the taskbar button doesn't work reliably on ubuntu lucid
+ // Hiding the taskbar button doesn't work cleanly on ubuntu lucid
if (fMinimizeToTray && event.Iconized())
fClosedToTray = true;
Show(!fClosedToTray);
-#endif
+//#endif
ptaskbaricon->Show(fMinimizeToTray || fClosedToTray);
}
@@ -2437,7 +2437,7 @@ void CMyTaskBarIcon::Show(bool fShow)
{
strlcpy(pszPrevTip, strTooltip.c_str(), sizeof(pszPrevTip));
#ifdef __WXMSW__
- // somehow it'll choose the wrong icon and scale it down if
+ // somehow it'll choose the wrong size and scale it down if
// we use the main icon, so we hand it one with only 16x16
SetIcon(wxICON(favicon), strTooltip);
#else