- MGR: Change the 'Open BOINC Manager' menu item ID for the task bar icon. wxID_OPEN

causes a folder icon to be prepended to the menu item on Linux.
    - MGR: Enable the Test Notification menu item on Linux
        
    clientgui/
        BOINCTaskBar.cpp, .h

svn path=/trunk/boinc/; revision=20452
This commit is contained in:
Rom Walton 2010-02-05 22:29:06 +00:00
parent a03d5507e2
commit 3e26627b55
3 changed files with 17 additions and 10 deletions

View File

@ -956,3 +956,12 @@ Rom 5 Feb 2010
BOINCTaskBar.cpp, .h
clientgui/msw/
taskbarex.cpp, .h
Rom 5 Feb 2010
- MGR: Change the 'Open BOINC Manager' menu item ID for the task bar icon. wxID_OPEN
causes a folder icon to be prepended to the menu item on Linux.
- MGR: Enable the Test Notification menu item on Linux
clientgui/
BOINCTaskBar.cpp, .h

View File

@ -54,7 +54,7 @@ BEGIN_EVENT_TABLE(CTaskBarIcon, wxTaskBarIconEx)
EVT_TASKBAR_RIGHT_DOWN(CTaskBarIcon::OnRButtonDown)
EVT_TASKBAR_RIGHT_UP(CTaskBarIcon::OnRButtonUp)
EVT_TASKBAR_MOVE(CTaskBarIcon::OnMouseMove)
EVT_MENU(wxID_OPEN, CTaskBarIcon::OnOpen)
EVT_MENU(ID_OPENBOINCMANAGER, CTaskBarIcon::OnOpen)
EVT_MENU(ID_OPENWEBSITE, CTaskBarIcon::OnOpenWebsite)
EVT_MENU(ID_TB_SUSPEND, CTaskBarIcon::OnSuspendResume)
EVT_MENU(ID_TB_SUSPEND_GPU, CTaskBarIcon::OnSuspendResumeGPU)
@ -611,7 +611,7 @@ wxMenu *CTaskBarIcon::BuildContextMenu() {
_("Open %s..."),
pSkinAdvanced->GetApplicationName().c_str()
);
pMenu->Append(wxID_OPEN, menuName, wxEmptyString);
pMenu->Append(ID_OPENBOINCMANAGER, menuName, wxEmptyString);
pMenu->AppendSeparator();
@ -622,12 +622,10 @@ wxMenu *CTaskBarIcon::BuildContextMenu() {
pMenu->AppendSeparator();
#ifdef _DEBUG
pMenu->Append(ID_TB_TEST_NOTIFICATION, _("Test Notification"), wxEmptyString);
pMenu->AppendSeparator();
#endif
menuName.Printf(
_("&About %s..."),

View File

@ -23,11 +23,11 @@
#define ID_CLOSEWINDOW 6100
#define ID_CHANGEGUI 6101
#define ID_OPENWEBSITE 6102
#define ID_PERIODICRPCTIMER 6103
#define ID_DOCUMENTPOLLTIMER 6104
#define ID_ALERTPOLLTIMER 6105
#define ID_REFRESHSTATETIMER 6106
//#define ID_REFRESHTIMER 6107
#define ID_OPENBOINCMANAGER 6103
#define ID_PERIODICRPCTIMER 6104
#define ID_DOCUMENTPOLLTIMER 6105
#define ID_ALERTPOLLTIMER 6106
#define ID_REFRESHSTATETIMER 6107
#define ID_WIZARDATTACH 6108
#define ID_WIZARDUPDATE 6109
#define ID_WIZARDDETACH 6110