[PC-BSD Commits] r866 - pcbsd/trunk/PBCsource
svn at pcbsd.org
svn at pcbsd.org
Fri Nov 9 08:11:21 PST 2007
Author: kris
Date: 2007-11-09 08:11:20 -0800 (Fri, 09 Nov 2007)
New Revision: 866
Modified:
pcbsd/trunk/PBCsource/pbcwizard.ui
pcbsd/trunk/PBCsource/pbcwizard.ui.h
Log:
Changed version of PBC and add MD5 sum to creation message
Modified: pcbsd/trunk/PBCsource/pbcwizard.ui
===================================================================
--- pcbsd/trunk/PBCsource/pbcwizard.ui 2007-11-09 15:38:12 UTC (rev 865)
+++ pcbsd/trunk/PBCsource/pbcwizard.ui 2007-11-09 16:11:20 UTC (rev 866)
@@ -259,7 +259,7 @@
<cstring>textLabel1_5</cstring>
</property>
<property name="text">
- <string>PBI Creator 3.3</string>
+ <string>PBI Creator 3.3.2</string>
</property>
</widget>
</grid>
Modified: pcbsd/trunk/PBCsource/pbcwizard.ui.h
===================================================================
--- pcbsd/trunk/PBCsource/pbcwizard.ui.h 2007-11-09 15:38:12 UTC (rev 865)
+++ pcbsd/trunk/PBCsource/pbcwizard.ui.h 2007-11-09 16:11:20 UTC (rev 866)
@@ -369,7 +369,7 @@
void PBCwizard::InstallFileDoneSlot()
{
- QString Name = PackageNameEdit->text();
+ QString Name = PackageNameEdit->text();
QString Ver = PackageVerEdit->text();
QString PBIVer = PBIVerEdit->text();
@@ -379,8 +379,12 @@
Ver.replace(" ", "");
PBIVer = PBIVer.stripWhiteSpace();
PBIVer.replace(" ", "");
+
+ QString cmd = "kdialog --msgbox \"PBI file created at:\n" + HomeDir + "/" + Name + Ver + "-PV" + PBIVer + ".pbi\n" + "MD5: `md5 " + HomeDir + "/" + Name + Ver + "-PV" + PBIVer + ".pbi | cut -d \"=\" -f 2`\"";
- KMessageBox::information(this, tr("Your file has been created at:\n") + HomeDir + "/" + Name + Ver + "-PV" + PBIVer + ".pbi", tr("File Created!"));
+ runCommand(cmd);
+
+ //KMessageBox::information(this, tr("Your file has been created at:\n") + HomeDir + "/" + Name + Ver + "-PV" + PBIVer + ".pbi", tr("File Created!"));
PackageLabel->setText("Complete! ");
setFinishEnabled(currentPage(), TRUE);
}
More information about the Commits
mailing list