Merge lp:~dobey/ubuntuone-client/bw-save-fix into lp:ubuntuone-client

Proposed by dobey
Status: Merged
Approved by: Rick McBride
Approved revision: 465
Merged at revision: not available
Proposed branch: lp:~dobey/ubuntuone-client/bw-save-fix
Merge into: lp:ubuntuone-client
Diff against target: 23 lines (+1/-5)
1 file modified
bin/ubuntuone-preferences (+1/-5)
To merge this branch: bzr merge lp:~dobey/ubuntuone-client/bw-save-fix
Reviewer Review Type Date Requested Status
Rick McBride (community) Approve
John Lenton (community) Approve
Review via email: mp+22561@code.launchpad.net

Commit message

Call the correct method to get the bw values and save them

To post a comment you must log in.
Revision history for this message
John Lenton (chipaca) wrote :

Simply genius.

A test would've been nice, any other day. At least it doesn't break
what's already there :)

 review approve

review: Approve
Revision history for this message
Rick McBride (rmcbride) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/ubuntuone-preferences'
2--- bin/ubuntuone-preferences 2010-03-31 18:36:43 +0000
3+++ bin/ubuntuone-preferences 2010-03-31 19:40:37 +0000
4@@ -556,10 +556,6 @@
5
6 logger.debug("starting")
7
8- def quit(self):
9- """Exit the main loop."""
10- gtk.main_quit()
11-
12 def __dbus_error(self, error):
13 """Error getting throttling config."""
14 logger.error(error)
15@@ -599,7 +595,7 @@
16 def __handle_response(self, dialog, response):
17 """Handle the dialog's response."""
18 self.hide()
19- self.devices.update_bw_settings()
20+ self.devices.handle_bw_controls_changed()
21 gtk.main_quit()
22
23 def _format_for_gb_display(self, bytes):

Subscribers

People subscribed via source and target branches