VirtualBox

儲存庫 vbox 的更動 14018


忽略:
時間撮記:
2008-11-10 下午04:09:59 (16 年 以前)
作者:
vboxsync
訊息:

FE/Qt: Removed the Delete button from the main toolbar in Selector (pessimistic and causes the VM list to occupy too much width taking it from the Details pane where it is needed more). Removed separator hell from the Machine & context menu & toolbar.

位置:
trunk/src/VBox/Frontends
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp

    r13869 r14018  
    506506
    507507    vmNewAction->addTo (vmTools);
    508     vmTools->addSeparator();
    509508    vmConfigAction->addTo (vmTools);
     509#if 0 /* delete action is really rare */
    510510    vmDeleteAction->addTo (vmTools);
    511     vmTools->addSeparator();
     511#endif
    512512    vmStartAction->addTo (vmTools);
    513513    vmDiscardAction->addTo (vmTools);
     
    529529    QPopupMenu *vmMenu = new QPopupMenu (this, "vmMenu");
    530530    vmNewAction->addTo (vmMenu);
    531     vmMenu->insertSeparator();
    532531    vmConfigAction->addTo (vmMenu);
    533532    vmDeleteAction->addTo (vmMenu);
     
    535534    vmStartAction->addTo (vmMenu);
    536535    vmDiscardAction->addTo (vmMenu);
    537     vmMenu->insertSeparator();
    538536    vmPauseAction->addTo (vmMenu);
    539537    vmMenu->insertSeparator();
    540538    vmRefreshAction->addTo (vmMenu);
    541     vmMenu->insertSeparator();
    542539    vmShowLogsAction->addTo (vmMenu);
    543540
     
    550547    vmStartAction->addTo (mVMCtxtMenu);
    551548    vmDiscardAction->addTo (mVMCtxtMenu);
    552     mVMCtxtMenu->insertSeparator();
    553549    vmPauseAction->addTo (mVMCtxtMenu);
    554550    mVMCtxtMenu->insertSeparator();
    555551    vmRefreshAction->addTo (mVMCtxtMenu);
    556     mVMCtxtMenu->insertSeparator();
    557552    vmShowLogsAction->addTo (mVMCtxtMenu);
    558553
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxSelectorWnd.cpp

    r14014 r14018  
    548548
    549549    vmTools->addAction (vmNewAction);
    550     vmTools->addSeparator();
    551550    vmTools->addAction (vmConfigAction);
     551#if 0 /* delete action is really rare */
    552552    vmTools->addAction (vmDeleteAction);
    553     vmTools->addSeparator();
     553#endif
    554554    vmTools->addAction (vmStartAction);
    555555    vmTools->addAction (vmDiscardAction);
     
    566566    mVMMenu = menuBar()->addMenu (QString::null);
    567567    mVMMenu->addAction (vmNewAction);
    568     mVMMenu->addSeparator();
    569568    mVMMenu->addAction (vmConfigAction);
    570569    mVMMenu->addAction (vmDeleteAction);
     
    572571    mVMMenu->addAction (vmStartAction);
    573572    mVMMenu->addAction (vmDiscardAction);
    574     mVMMenu->addSeparator();
    575573    mVMMenu->addAction (vmPauseAction);
    576574    mVMMenu->addSeparator();
    577575    mVMMenu->addAction (vmRefreshAction);
    578     mVMMenu->addSeparator();
    579576    mVMMenu->addAction (vmShowLogsAction);
    580577
     
    585582    mVMCtxtMenu->addAction (vmStartAction);
    586583    mVMCtxtMenu->addAction (vmDiscardAction);
    587     mVMCtxtMenu->addSeparator();
    588584    mVMCtxtMenu->addAction (vmPauseAction);
    589585    mVMCtxtMenu->addSeparator();
    590586    mVMCtxtMenu->addAction (vmRefreshAction);
    591     mVMCtxtMenu->addSeparator();
    592587    mVMCtxtMenu->addAction (vmShowLogsAction);
    593588
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette