comparison mainwindow.cpp @ 131:2550aaa09240

* Add connecting line to uncommitted item; turn Revert icon blue; cut down menus to things that actually work (well, mostly)
author Chris Cannam
date Tue, 30 Nov 2010 11:17:30 +0000
parents 9ae4cc0055e8
children aaeab914f2a3
comparison
equal deleted inserted replaced
130:9ae4cc0055e8 131:2550aaa09240
1630 } 1630 }
1631 1631
1632 void MainWindow::createMenus() 1632 void MainWindow::createMenus()
1633 { 1633 {
1634 fileMenu = menuBar()->addMenu(tr("File")); 1634 fileMenu = menuBar()->addMenu(tr("File"));
1635 fileMenu -> addAction(hgInitAct); 1635 /* fileMenu -> addAction(hgInitAct);
1636 fileMenu -> addAction(hgCloneFromRemoteAct); 1636 fileMenu -> addAction(hgCloneFromRemoteAct);
1637 fileMenu->addAction(clearSelectionsAct); //!!! can't live here! 1637 fileMenu->addAction(clearSelectionsAct); //!!! can't live here!
1638 fileMenu -> addSeparator(); 1638 fileMenu -> addSeparator();
1639 */
1639 fileMenu -> addAction(openAct); 1640 fileMenu -> addAction(openAct);
1640 fileMenu -> addAction(settingsAct); 1641 fileMenu -> addAction(settingsAct);
1641 fileMenu -> addSeparator(); 1642 fileMenu -> addSeparator();
1642 fileMenu -> addAction(exitAct); 1643 fileMenu -> addAction(exitAct);
1643 1644
1644 advancedMenu = menuBar()->addMenu(tr("Advanced")); 1645 advancedMenu = menuBar()->addMenu(tr("Advanced"));
1646 /*
1645 advancedMenu -> addAction(hgUpdateToRevAct); 1647 advancedMenu -> addAction(hgUpdateToRevAct);
1646 advancedMenu -> addSeparator(); 1648 advancedMenu -> addSeparator();
1647 advancedMenu -> addAction(hgAnnotateAct); 1649 advancedMenu -> addAction(hgAnnotateAct);
1648 advancedMenu -> addSeparator(); 1650 advancedMenu -> addSeparator();
1649 advancedMenu -> addAction(hgRetryMergeAct); 1651 advancedMenu -> addAction(hgRetryMergeAct);
1650 advancedMenu -> addAction(hgResolveListAct); 1652 advancedMenu -> addAction(hgResolveListAct);
1651 advancedMenu -> addAction(hgResolveMarkAct); 1653 advancedMenu -> addAction(hgResolveMarkAct);
1652 advancedMenu -> addSeparator(); 1654 advancedMenu -> addSeparator();
1653 advancedMenu -> addAction(hgTagAct); 1655 advancedMenu -> addAction(hgTagAct);
1654 advancedMenu -> addSeparator(); 1656 advancedMenu -> addSeparator();
1657 */
1655 advancedMenu -> addAction(hgIgnoreAct); 1658 advancedMenu -> addAction(hgIgnoreAct);
1656 advancedMenu -> addSeparator(); 1659 advancedMenu -> addSeparator();
1657 advancedMenu -> addAction(hgServeAct); 1660 advancedMenu -> addAction(hgServeAct);
1658 1661
1659 helpMenu = menuBar()->addMenu(tr("Help")); 1662 helpMenu = menuBar()->addMenu(tr("Help"));