summaryrefslogtreecommitdiff
path: root/UpdateManager
diff options
context:
space:
mode:
authorSebastian Heinlein <sebastian.heinlein@web.de>2006-01-25 14:32:38 +0100
committerSebastian Heinlein <sebastian.heinlein@web.de>2006-01-25 14:32:38 +0100
commit41a6ea707688e2e239ee75212888d01c219f39b1 (patch)
treed3231336edc1158ad16aec1bcb3077bb5f413928 /UpdateManager
parent04314c42545fa783b12c9c7b7ec88200afa5e3f2 (diff)
downloadpython-apt-41a6ea707688e2e239ee75212888d01c219f39b1.tar.gz
SoftwareProperties:
* Allow a custom configuration for automatic internet udpates * Wording: "Choose a key-file" -> "Import key" (Import is the label on the button) * use the update-manager icon in the window list UpdateManager: * set window_main to unsensitive at the startup * Wording in the synaptic dialog: - "The updates are being applied." -> "Please wait, this can take some time." - "Upgrade is complete" -> "Update is complete" * set synapitc dialog to type-hint "dialog" and not "normal" * set the main_window to type-hint "dialog" and not "normal" * do not write a status message to treeview_updates during startup "Initializing and getting list of updates..." * Nicer wording in the dialog_manual_update: "You need to manually reload the latest information about updates" "Your system does not check for updates automatically. You can configure this behavior in "System" -> "Administration" -> "Software Properties"
Diffstat (limited to 'UpdateManager')
-rw-r--r--UpdateManager/UpdateManager.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/UpdateManager/UpdateManager.py b/UpdateManager/UpdateManager.py
index 89f4989e..a4f8ed48 100644
--- a/UpdateManager/UpdateManager.py
+++ b/UpdateManager/UpdateManager.py
@@ -219,6 +219,7 @@ class UpdateManager(SimpleGladeApp):
None, domain="update-manager")
self.gnome_program = gnome.init("update-manager", "0.41")
+ self.window_main.set_sensitive(False)
self.packages = []
self.dl_size = 0
@@ -423,9 +424,9 @@ class UpdateManager(SimpleGladeApp):
if action == INSTALL:
cmd.append("--set-selections")
cmd.append("--progress-str")
- cmd.append("%s" % _("The updates are being applied."))
+ cmd.append("%s" % _("Please wait, this can take some time."))
cmd.append("--finish-str")
- cmd.append("%s" % _("Upgrade is complete"))
+ cmd.append("%s" % _("Update is complete"))
proc = subprocess.Popen(cmd, stdin=subprocess.PIPE)
f = proc.stdin
for s in self.packages:
@@ -545,6 +546,7 @@ class UpdateManager(SimpleGladeApp):
self.window_main.set_sensitive(False)
# create a progress window that will swallow the synaptic progress bars
win = gtk.Window()
+ win.set_property("type-hint", gtk.gdk.WINDOW_TYPE_HINT_DIALOG)
win.set_title("")
win.set_border_width(12)
win.set_transient_for(self.window_main)
@@ -880,9 +882,6 @@ class UpdateManager(SimpleGladeApp):
self.meta.connect("new_dist_available",self.new_dist_available)
self.meta.connect("dist_no_longer_supported",self.dist_no_longer_supported)
- self.store.append([True, _("Initializing and getting list of updates..."),
- None, None, None, None, None])
-
while gtk.events_pending():
gtk.main_iteration()