comparison mainwindow.cpp @ 99:a5a2d74a83a7

* Minor text and layout changes; ensure path widgets are updated when repo changes
author Chris Cannam
date Wed, 24 Nov 2010 17:29:31 +0000
parents 3e6c3281fb97
children 0bd32aedc6f6
comparison
equal deleted inserted replaced
98:3e6c3281fb97 99:a5a2d74a83a7
1114 remoteRepoPath = lp.parse()[0]["default"].trimmed(); 1114 remoteRepoPath = lp.parse()[0]["default"].trimmed();
1115 DEBUG << "Set remote path to " << remoteRepoPath << endl; 1115 DEBUG << "Set remote path to " << remoteRepoPath << endl;
1116 } 1116 }
1117 MultiChoiceDialog::addRecentArgument("local", workFolderPath); 1117 MultiChoiceDialog::addRecentArgument("local", workFolderPath);
1118 MultiChoiceDialog::addRecentArgument("remote", remoteRepoPath); 1118 MultiChoiceDialog::addRecentArgument("remote", remoteRepoPath);
1119 hgTabs->setWorkFolderAndRepoNames(workFolderPath, remoteRepoPath);
1119 enableDisableActions(); 1120 enableDisableActions();
1120 break; 1121 break;
1121 } 1122 }
1122 1123
1123 case ACT_STAT: 1124 case ACT_STAT:
1523 1524
1524 //Workfolder actions 1525 //Workfolder actions
1525 hgFileDiffAct = new QAction(QIcon(":/images/diff.png"), tr("Diff"), this); 1526 hgFileDiffAct = new QAction(QIcon(":/images/diff.png"), tr("Diff"), this);
1526 hgFileDiffAct->setStatusTip(tr("Filediff: View differences between selected working folder file and local repository file")); 1527 hgFileDiffAct->setStatusTip(tr("Filediff: View differences between selected working folder file and local repository file"));
1527 1528
1528 hgFolderDiffAct = new QAction(QIcon(":/images/folderdiff.png"), tr("View folderdiff"), this); 1529 hgFolderDiffAct = new QAction(QIcon(":/images/folderdiff.png"), tr("Diff"), this);
1529 hgFolderDiffAct->setStatusTip(tr("Folderdiff: View all differences between working folder files and local repository files")); 1530 hgFolderDiffAct->setStatusTip(tr("Folderdiff: View all differences between working folder files and local repository files"));
1530 1531
1531 hgChgSetDiffAct = new QAction(QIcon(":/images/chgsetdiff.png"), tr("View changesetdiff"), this); 1532 hgChgSetDiffAct = new QAction(QIcon(":/images/chgsetdiff.png"), tr("View changesetdiff"), this);
1532 hgChgSetDiffAct->setStatusTip(tr("Change set diff: View differences between all files of 2 repository changesets")); 1533 hgChgSetDiffAct->setStatusTip(tr("Change set diff: View differences between all files of 2 repository changesets"));
1533 1534