summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-01-24 20:22:42 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2006-01-24 20:22:42 +0100
commit6b179749e53c6295b2dc05912f0b1eb4837e5c62 (patch)
treeaeab439be57a9f2725ef70ae3e28585fa203914f
parent22c6d7470a7c7aa549d5f3754180eb6aa7b996d4 (diff)
parent799173d10917ac130d9ccb8a54c9a12b3be2b49e (diff)
downloadpython-apt-6b179749e53c6295b2dc05912f0b1eb4837e5c62.tar.gz
* merged with http://pimpzkrudyndns.org/~sebi/devel/update-manager--sebi/
-rw-r--r--DistUpgrade/DistUpgradeViewGtk.py5
-rw-r--r--UpdateManager/UpdateManager.py9
2 files changed, 6 insertions, 8 deletions
diff --git a/DistUpgrade/DistUpgradeViewGtk.py b/DistUpgrade/DistUpgradeViewGtk.py
index 171aafa5..605db185 100644
--- a/DistUpgrade/DistUpgradeViewGtk.py
+++ b/DistUpgrade/DistUpgradeViewGtk.py
@@ -165,9 +165,8 @@ class GtkInstallProgressAdapter(InstallProgress):
self.updateInterface()
return self.apt_status
def finishUpdate(self):
- #self.progress.hide()
- #self.label_status.set_text("")
- pass
+ self.progress.hide()
+ self.label_status.set_text("")
def updateInterface(self):
InstallProgress.updateInterface(self)
self.progress.set_fraction(self.percent/100.0)
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index 66e5f077..d2c2bc54 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -546,13 +546,12 @@ class UpdateManager(SimpleGladeApp):
self.window_main.set_sensitive(False)
# create a progress window that will swallow the synaptic progress bars
win = gtk.Window()
- if action==UPDATE:
- win.set_title(_("Updating package list..."))
- else:
- win.set_title(_("Installing updates..."))
- win.set_border_width(6)
+ win.set_title("")
+ win.set_border_width(12)
win.set_transient_for(self.window_main)
win.set_position(gtk.WIN_POS_CENTER_ON_PARENT)
+ win.set_property("skip-taskbar-hint", True)
+ win.set_property("skip-pager-hint", True)
win.resize(400,200)
win.set_resizable(False)
# prevent the window from closing with the delete button (there is