diff options
| author | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-01-23 23:01:19 +0100 |
|---|---|---|
| committer | Sebastian Heinlein <sebastian.heinlein@web.de> | 2006-01-23 23:01:19 +0100 |
| commit | dfac943eddaebac9b9532acfd606fb3908e03bb8 (patch) | |
| tree | 317e7cfa0aae1d4e19c2c1ca1cd20fc2cfb16747 /DistUpgrade/DistUpgradeViewGtk.py | |
| parent | 5d73a0332e39db8a773b1c3af989ed268c1f99e2 (diff) | |
| parent | 39915e9f6f204c2ded4d976621b6a1a37b6c3548 (diff) | |
| download | python-apt-dfac943eddaebac9b9532acfd606fb3908e03bb8.tar.gz | |
* Merged from Michael
* Set ellipsize to the status label and the progress bar
* More status messages
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py index 77307611..f5bceef0 100644 --- a/DistUpgrade/DistUpgradeViewGtk.py +++ b/DistUpgrade/DistUpgradeViewGtk.py @@ -119,9 +119,7 @@ class GtkInstallProgressAdapter(InstallProgress): # FIXME: add support for the timeout # of the terminal (to display something useful then) # -> longer term, move this code into python-apt - #self.label_status.show() self.label_status.set_text(_("Installing updates ...")) - #self.progress.show() self.progress.set_fraction(0.0) self.progress.set_text(" ") self.expander.set_sensitive(True) @@ -166,9 +164,9 @@ class GtkInstallProgressAdapter(InstallProgress): while not self.finished: self.updateInterface() return self.apt_status - def finishUpdate(self): + # def finishUpdate(self): #self.progress.hide() - self.label_status.set_text("") + #self.label_status.set_text("") def updateInterface(self): InstallProgress.updateInterface(self) self.progress.set_fraction(self.percent/100.0) |
