diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-24 20:20:32 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-01-24 20:20:32 +0100 |
| commit | 22c6d7470a7c7aa549d5f3754180eb6aa7b996d4 (patch) | |
| tree | fbae4a3e56fd18a6175fe3949ec4edd472342569 /DistUpgrade/DistUpgradeViewGtk.py | |
| parent | ec21b1c632c23d4d8d4e2faf3c47231399e17bd4 (diff) | |
| parent | 856ddf07d09287fefd81f6a7968cbf8110981040 (diff) | |
| download | python-apt-22c6d7470a7c7aa549d5f3754180eb6aa7b996d4.tar.gz | |
* merged with sebastian
* fixed a bug in the conffile() prompt detection
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
| -rw-r--r-- | DistUpgrade/DistUpgradeViewGtk.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py index fe002b15..171aafa5 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) @@ -154,7 +152,7 @@ class GtkInstallProgressAdapter(InstallProgress): dialog.run() dialog.destroy() def conffile(self, current, new): - self.expander.set_expanded=True + self.expander.set_expanded(True) pass def fork(self): pid = self.term.forkpty(envv=self.env) @@ -168,7 +166,8 @@ class GtkInstallProgressAdapter(InstallProgress): return self.apt_status def finishUpdate(self): #self.progress.hide() - self.label_status.set_text("") + #self.label_status.set_text("") + pass def updateInterface(self): InstallProgress.updateInterface(self) self.progress.set_fraction(self.percent/100.0) |
