From 41a6ea707688e2e239ee75212888d01c219f39b1 Mon Sep 17 00:00:00 2001 From: Sebastian Heinlein Date: Wed, 25 Jan 2006 14:32:38 +0100 Subject: 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" --- UpdateManager/UpdateManager.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'UpdateManager') 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() -- cgit v1.2.3