Merge lp:~mterry/update-manager/813778 into lp:update-manager

Proposed by Michael Terry
Status: Merged
Merged at revision: 2177
Proposed branch: lp:~mterry/update-manager/813778
Merge into: lp:update-manager
Diff against target: 39 lines (+4/-4)
1 file modified
UpdateManager/UpdateManager.py (+4/-4)
To merge this branch: bzr merge lp:~mterry/update-manager/813778
Reviewer Review Type Date Requested Status
Michael Vogt Pending
Review via email: mp+68601@code.launchpad.net

Description of the change

Fixes some crashes when showing error dialogs.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'UpdateManager/UpdateManager.py'
2--- UpdateManager/UpdateManager.py 2011-07-15 15:59:46 +0000
3+++ UpdateManager/UpdateManager.py 2011-07-20 20:44:19 +0000
4@@ -1008,7 +1008,7 @@
5 0, Gtk.MessageType.ERROR,
6 Gtk.ButtonsType.CLOSE,"")
7 dialog.set_markup(msg)
8- dialog.vbox.set_spacing(6)
9+ dialog.get_content_area().set_spacing(6)
10 dialog.run()
11 dialog.destroy()
12 sys.exit(1)
13@@ -1037,7 +1037,7 @@
14 0, Gtk.MessageType.ERROR,
15 Gtk.ButtonsType.CLOSE,"")
16 dialog.set_markup(msg)
17- dialog.vbox.set_spacing(6)
18+ dialog.get_content_area().set_spacing(6)
19 dialog.run()
20 dialog.destroy()
21 if self.list.num_updates > 0:
22@@ -1088,7 +1088,7 @@
23 0, Gtk.MessageType.ERROR,
24 Gtk.ButtonsType.CLOSE,"")
25 dialog.set_markup(msg)
26- dialog.vbox.set_spacing(6)
27+ dialog.get_content_area().set_spacing(6)
28 dialog.run()
29 dialog.destroy()
30
31@@ -1154,7 +1154,7 @@
32 0, Gtk.MessageType.ERROR,
33 Gtk.ButtonsType.CLOSE,"")
34 dialog.set_markup(msg)
35- dialog.vbox.set_spacing(6)
36+ dialog.get_content_area().set_spacing(6)
37 dialog.run()
38 dialog.destroy()
39 sys.exit(1)

Subscribers

People subscribed via source and target branches

to status/vote changes: