Merge lp:~dobey/ubuntuone-client/always-connecting into lp:ubuntuone-client

Proposed by dobey
Status: Merged
Approved by: John Lenton
Approved revision: 206
Merged at revision: not available
Proposed branch: lp:~dobey/ubuntuone-client/always-connecting
Merge into: lp:ubuntuone-client
Diff against target: None lines
To merge this branch: bzr merge lp:~dobey/ubuntuone-client/always-connecting
Reviewer Review Type Date Requested Status
John Lenton (community) Approve
Rick McBride (community) Approve
Review via email: mp+11552@code.launchpad.net

Commit message

Show Disconnected status when disconnected, and Ubuntu One by default otherwise

To post a comment you must log in.
Revision history for this message
Rick McBride (rmcbride) wrote :

Looks good!

review: Approve
Revision history for this message
John Lenton (chipaca) wrote :

OK.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bin/ubuntuone-client-applet'
--- bin/ubuntuone-client-applet 2009-09-08 13:28:01 +0000
+++ bin/ubuntuone-client-applet 2009-09-10 19:17:04 +0000
@@ -534,6 +534,8 @@
534534
535 state = status['name']535 state = status['name']
536536
537 self.set_tooltip("Ubuntu One")
538
537 if self.__fatal_error and state != "UNKNOWN_ERROR":539 if self.__fatal_error and state != "UNKNOWN_ERROR":
538 # Just blow your nose, and it's fixed, isn't it.540 # Just blow your nose, and it's fixed, isn't it.
539 self.__fatal_error = False541 self.__fatal_error = False
@@ -543,6 +545,7 @@
543 if state == "OFFLINE" or state.startswith("INIT") or \545 if state == "OFFLINE" or state.startswith("INIT") or \
544 state.startswith("READY"):546 state.startswith("READY"):
545 self.set_from_icon_name("ubuntuone-client-offline")547 self.set_from_icon_name("ubuntuone-client-offline")
548 self.set_tooltip(_("Disconnected")
546 self.__connected = False549 self.__connected = False
547 self.__visible = True550 self.__visible = True
548551

Subscribers

People subscribed via source and target branches