From: duplo Date: Fri, 9 Jan 2009 10:45:03 +0000 (+0000) Subject: Change the visualization of the valid gcc X-Git-Tag: 2.1.0~534 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=860813057eef0db71b73300e75608ab125c86dd6;p=bertos.git Change the visualization of the valid gcc git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2148 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BToolchainPage.py b/wizard/BToolchainPage.py index 9859355c..d9ea7687 100644 --- a/wizard/BToolchainPage.py +++ b/wizard/BToolchainPage.py @@ -75,7 +75,7 @@ class BToolchainPage(BWizardPage): item.setIcon(QIcon(":/images/ok.png")) else: item.setIcon(QIcon(":/images/warning.png")) - item.setText(infos["version"] + " " + infos["target"]) + item.setText("GCC " + infos["version"] + " " + infos["target"]) def _invalidItem(self, index): item = self.pageContent.toolchainList.item(index) @@ -113,7 +113,7 @@ class BToolchainPage(BWizardPage): if self._validationProcess.waitForFinished(200): description = str(self._validationProcess.readAllStandardError()) infos = bertos_utils.getToolchainInfo(description) - if len(infos.keys()) == 4: + if len(infos.keys()) >= 4: self._validItem(i, infos) else: self._invalidItem(i)