Merge lp:~ilidrissi.amine/update-manager/window-main-alerts into lp:update-manager
Proposed by
Mohamed Amine Ilidrissi
on 2010-07-27
| Status: | Merged |
|---|---|
| Merged at revision: | 1881 |
| Proposed branch: | lp:~ilidrissi.amine/update-manager/window-main-alerts |
| Merge into: | lp:update-manager |
| Diff against target: |
413 lines (+249/-18) 4 files modified
UpdateManager/Core/AlertWatcher.py (+73/-0) UpdateManager/UpdateManager.py (+69/-6) data/glade/UpdateManager.ui (+100/-12) debian/changelog (+7/-0) |
| To merge this branch: | bzr merge lp:~ilidrissi.amine/update-manager/window-main-alerts |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | 2010-07-27 | Needs Fixing on 2010-08-09 | |
|
Review via email:
|
|||
Description of the Change
This branch introduces alerts handling for the update manager, as described in https:/
To post a comment you must log in.
lp:~ilidrissi.amine/update-manager/window-main-alerts
updated
on 2010-08-02
- 1879. By Mohamed Amine Ilidrissi on 2010-08-02
-
merge with trunk
- 1880. By Mohamed Amine Ilidrissi on 2010-08-02
-
modified debian/changelog
- 1881. By Mohamed Amine Ilidrissi on 2010-08-02
-
included another bug in debian/changelog
| Michael Vogt (mvo) wrote : | # |
review:
Needs Fixing
lp:~ilidrissi.amine/update-manager/window-main-alerts
updated
on 2010-08-10
- 1882. By Mohamed Amine IL Idrissi <devildante@devildante-laptop> on 2010-08-09
-
merge with trunk
- 1883. By Mohamed Amine IL Idrissi <devildante@devildante-laptop> on 2010-08-09
-
Fixed a bunch of things at mvo's request.
- 1884. By Mohamed Amine IL Idrissi <devildante@devildante-laptop> on 2010-08-10
-
Enums. I like enums.

Thanks a lot for the branch.
I looked over it and discovered some small issues. If I start update-manager and
I'm not on AC power then I don't get a battery warning. This is because there is
no "change" signal emit (nothing in the power state has changed). So we need to
add a additional check for this on startup.
There is also the lines: install. set_sensitive( True) install. set_sensitive( True)
137 if inst_count > 1:
138 + t = _("The updates have already been downloaded, but not installed")
139 + self.button_
140 + elif inst_count == 1:
141 + t = _("The update has already been downloaded, but not installed")
142 + self.button_
143 + else:
144 + t = _("There is no updates to install")
Those are better written with ngettext, so:
inst_ count)
t = ngettext("The update has already been downloaded, but not installed",
"The updates have already been downloaded, but not installed",
This will ensure the text can be translated into languages with different plural forms
(there are eg languages that have a different on for one, below 10, more than 10).
I also like the display "Nr items selected" :) I guess its not very important, but it
would be cool to have it back.
All minor nitpicks, if you could address them, that would be very nice.
Thanks,
Michael