string strStatus = strprintf(" %.0f khash/s", dHashesPerSec/1000.0);\r
UIThreadCall(bind(CalledSetStatusBar, strStatus, 0));\r
static int64 nLogTime;\r
- if (GetTime() - nLogTime > 60 * 60)\r
+ if (GetTime() - nLogTime > 30 * 60)\r
{\r
nLogTime = GetTime();\r
printf("%s ", DateTimeStrFormat("%x %H:%M", GetTime()).c_str());\r
// to get rid of the deprecated warning. Just ignore it.\r
if (!event.Iconized())\r
fClosedToTray = false;\r
-#ifdef __WXMSW__\r
+//#ifdef __WXMSW__\r
// The tray icon sometimes disappears on ubuntu karmic\r
- // Hiding the taskbar button doesn't work reliably on ubuntu lucid\r
+ // Hiding the taskbar button doesn't work cleanly on ubuntu lucid\r
if (fMinimizeToTray && event.Iconized())\r
fClosedToTray = true;\r
Show(!fClosedToTray);\r
-#endif\r
+//#endif\r
ptaskbaricon->Show(fMinimizeToTray || fClosedToTray);\r
}\r
\r
{\r
strlcpy(pszPrevTip, strTooltip.c_str(), sizeof(pszPrevTip));\r
#ifdef __WXMSW__\r
- // somehow it'll choose the wrong icon and scale it down if\r
+ // somehow it'll choose the wrong size and scale it down if\r
// we use the main icon, so we hand it one with only 16x16\r
SetIcon(wxICON(favicon), strTooltip);\r
#else\r