Ignore:
Timestamp:
Mar 27, 2011, 2:13:43 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

xsystray: Added 2px padding when no icons are shown (to move the widget and call its context menu with the mouse) and a tooltip saying 'Indicator area' when the mouse is over the padding zone (between or around icons).

Location:
trunk/src/3rdparty/os2/xsystray/plugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/3rdparty/os2/xsystray/plugin/w_xsystray.c

    r841 r842  
    180180
    181181#define TID_CHECKALIVE          1
    182          // timer that checks if windows associated with icons are still alive
     182        // timer that checks if windows associated with icons are still alive
    183183#define TID_CHECKALIVE_TIMEOUT  2000 // ms
    184          // how often to perform alive checks
     184        // how often to perform alive checks
    185185
    186186static ULONG WM_XST_CREATED = 0;
     
    657657                    pszl->cx = pad + (pSysTrayData->lIconWidth + pad) * cnt;
    658658                else
    659                     pszl->cx = 0;
     659                    pszl->cx = ;
    660660                // desired minimum height
    661661                pszl->cy = pSysTrayData->lIconHeight + pad * 2;
     
    687687
    688688                if (!pIconData || !pIconData->pszToolTip)
    689                     pttt->pszText = NULL;
     689                {
     690                    pttt->pszText = pSysTrayData->cIcons ?
     691                        "Indicator area" : "Indicator area (empty)";
     692                }
    690693                else
    691694                {
  • trunk/src/3rdparty/os2/xsystray/plugin/w_xsystray.h

    r839 r842  
    3333    if (f == NULL)
    3434    {
    35         f = fopen(ENABLE_LOG_TO, "a");
     35        f = fopen(ENABLE_LOG_TO, "");
    3636        setbuf(f, NULL);
    3737    }
Note: See TracChangeset for help on using the changeset viewer.