Changeset 13366 for trunk/Mars/mbase
- Timestamp:
- 04/17/12 15:53:03 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MStatusDisplay.cc
r12857 r13366 255 255 // File Menu 256 256 // 257 MGPopupMenu *filemenu = new MGPopupMenu(gClient->Get Root());257 MGPopupMenu *filemenu = new MGPopupMenu(gClient->GetDefaultRoot()); 258 258 filemenu->AddEntry("New &Canvas", kFileCanvas); 259 259 filemenu->AddEntry("New &Browser", kFileBrowser); … … 262 262 263 263 const TString fname(MString::Format("Save %s.", gROOT->GetName())); 264 MGPopupMenu *savemenu = new MGPopupMenu(gClient->Get Root());264 MGPopupMenu *savemenu = new MGPopupMenu(gClient->GetDefaultRoot()); 265 265 savemenu->AddEntry(MString::Format("%s&ps", fname.Data()), kFileSaveAsPS); 266 266 savemenu->AddEntry(MString::Format("%sp&df", fname.Data()), kFileSaveAsPDF); … … 296 296 // Tab Menu 297 297 // 298 MGPopupMenu *tabmenu = new MGPopupMenu(gClient->Get Root());298 MGPopupMenu *tabmenu = new MGPopupMenu(gClient->GetDefaultRoot()); 299 299 tabmenu->AddEntry("Next [&+]", kTabNext); 300 300 tabmenu->AddEntry("Previous [&-]", kTabPrevious); … … 302 302 303 303 const TString fname2(MString::Format("Save %s-i.", gROOT->GetName())); 304 MGPopupMenu *savemenu2 = new MGPopupMenu(gClient->Get Root());304 MGPopupMenu *savemenu2 = new MGPopupMenu(gClient->GetDefaultRoot()); 305 305 savemenu2->AddEntry(MString::Format("%s&ps", fname2.Data()), kTabSaveAsPS); 306 306 savemenu2->AddEntry(MString::Format("%sp&df", fname2.Data()), kTabSaveAsPDF); … … 331 331 // Loop Menu 332 332 // 333 MGPopupMenu *loopmenu = new MGPopupMenu(gClient->Get Root());333 MGPopupMenu *loopmenu = new MGPopupMenu(gClient->GetDefaultRoot()); 334 334 loopmenu->AddEntry("&Pause", kLoopPause); 335 335 loopmenu->AddEntry("Single S&tep", kLoopStep); … … 343 343 // Loop Menu 344 344 // 345 MGPopupMenu *sizemenu = new MGPopupMenu(gClient->Get Root());345 MGPopupMenu *sizemenu = new MGPopupMenu(gClient->GetDefaultRoot()); 346 346 sizemenu->AddEntry("Fit to 640x&480", kSize640); 347 347 sizemenu->AddEntry("Fit to 768x&576", kSize768); … … 359 359 // Log Menu 360 360 // 361 MGPopupMenu *logmenu = new MGPopupMenu(gClient->Get Root());361 MGPopupMenu *logmenu = new MGPopupMenu(gClient->GetDefaultRoot()); 362 362 logmenu->AddEntry("&Copy Selected", kLogCopy); 363 363 logmenu->AddEntry("Cl&ear all", kLogClear);
Note:
See TracChangeset
for help on using the changeset viewer.