Skip to content

Commit

Permalink
Fixed package validation text while checking
Browse files Browse the repository at this point in the history
BUG:FIXED:16848
  • Loading branch information
mkatircioglu committed May 25, 2011
1 parent d30fa4d commit 94406cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion yali/yali/gui/ScrCheckCD.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ def display_progress(self, operation, percent, info, **keywords):

self.ui.progressBar.setMaximum(len(pkg_names))

self.ui.checkLabel.setText(_("Package validation is in progress. "
"Please wait until it is completed."))
cur = 0
flag = 0
for pkg_name in pkg_names:
Expand Down Expand Up @@ -109,7 +111,6 @@ def display_progress(self, operation, percent, info, **keywords):
else:
yali.util.reboot()


if not self.check_media_stop and flag == 0:
ctx.interface.informationWindow.update(_('<font color="#FFF"><b>Validation succeeded. You can proceed with the installation.</b></font>'))
self.ui.validationSucceedBox.show()
Expand All @@ -123,6 +124,7 @@ def display_progress(self, operation, percent, info, **keywords):
ctx.mainScreen.enableNext()
ctx.mainScreen.enableBack()

self.ui.checkLabel.setText(_("Package validation is finished."))
ctx.interface.informationWindow.hide()


2 changes: 1 addition & 1 deletion yali/yali/gui/Ui/checkcdwidget.ui
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
</spacer>
</item>
<item>
<widget class="QLabel" name="textLabel2">
<widget class="QLabel" name="checkLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
Expand Down

0 comments on commit 94406cf

Please sign in to comment.