idok-commit AT lists.psi.ch
Subject: Commit emails of the iDok project
List archive
- From: "Apache" <apache AT savannah.psi.ch>
- To: idok-commit AT lists.psi.ch
- Subject: [idok-commit] idok commit r135 - trunk/java/ch/idok/qtgui
- Date: Fri, 4 Jul 2008 11:14:43 +0200
- List-archive: <https://lists.web.psi.ch/pipermail/idok-commit/>
- List-id: Commit emails of the iDok project <idok-commit.lists.psi.ch>
Author: huebner AT PSI.CH
Date: Fri Jul 4 11:14:42 2008
New Revision: 135
Log:
Added the version number to the File name in the repository browser.
Modified:
trunk/java/ch/idok/qtgui/DocumentController.java
Modified: trunk/java/ch/idok/qtgui/DocumentController.java
==============================================================================
--- trunk/java/ch/idok/qtgui/DocumentController.java (original)
+++ trunk/java/ch/idok/qtgui/DocumentController.java Fri Jul 4 11:14:42
2008
@@ -119,7 +119,8 @@
revisions = repo.getRevisions(repPath.getDocumentId());
for (RepositoryLogEntry entry : revisions) {
QTreeWidgetItem newItem = new QTreeWidgetItem(item);
- newItem.setText(0, item.text(0));
+ newItem.setText(0, item.text(0) + " <#"+entry.getVersion()
+ .toString()+">");
newItem.setData(0, Qt.ItemDataRole.UserRole, repo
.getRepositoryPathFromCurrentId(
repPath.getDocumentId(),
entry.getVersion()));
- [idok-commit] idok commit r135 - trunk/java/ch/idok/qtgui, Apache, 07/04/2008
Archive powered by MHonArc 2.6.19.