summaryrefslogtreecommitdiff
path: root/DistUpgrade/DistUpgradeViewGtk.py
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-01-23 23:04:37 +0100
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-01-23 23:04:37 +0100
commit1db0d7b67f9fdec6d721637cadfca8c292efb35b (patch)
treefc18b9294873f218484126c16407ab5000f1f1f1 /DistUpgrade/DistUpgradeViewGtk.py
parentdfac943eddaebac9b9532acfd606fb3908e03bb8 (diff)
parent4614765fb73d85f350f4f525a216386f01cbec0d (diff)
downloadpython-apt-1db0d7b67f9fdec6d721637cadfca8c292efb35b.tar.gz
* Merged with Michael
Diffstat (limited to 'DistUpgrade/DistUpgradeViewGtk.py')
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index f5bceef0..f538c1a9 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -126,7 +126,7 @@ class GtkInstallProgressAdapter(InstallProgress):
self.term.show()
self.env = ["VTE_PTY_KEEP_FD=%s"% self.writefd,
"DEBIAN_FRONTEND=gnome",
- "APT_LISTCHANGES_FRONTEND=gtk"]
+ "APT_LISTCHANGES_FRONTEND=none"]
def error(self, pkg, errormsg):
dialog = gtk.MessageDialog(self.parent.window_main, 0,
gtk.MESSAGE_ERROR,
@@ -297,11 +297,11 @@ class GtkDistUpgradeView(DistUpgradeView,SimpleGladeApp):
return True
return False
- def confirm_restart(self):
+ def confirmRestart(self):
self.dialog_restart.set_transient_for(self.window_main)
res = self.dialog_restart.run()
self.dialog_restart.hide()
- if res == RESPONSE_YES:
+ if res == gtk.RESPONSE_YES:
return True
return False