Merge lp:~chipaca/ubuntu-push/fix-1308145 into lp:ubuntu-push/automatic

Proposed by John Lenton
Status: Merged
Approved by: John Lenton
Approved revision: 127
Merged at revision: 125
Proposed branch: lp:~chipaca/ubuntu-push/fix-1308145
Merge into: lp:ubuntu-push/automatic
Diff against target: 13 lines (+0/-3)
1 file modified
client/client.go (+0/-3)
To merge this branch: bzr merge lp:~chipaca/ubuntu-push/fix-1308145
Reviewer Review Type Date Requested Status
Samuele Pedroni Approve
Review via email: mp+216041@code.launchpad.net

Commit message

Drop [toplevel] from the notification displayed to the user.

Description of the change

Drop [toplevel] from the notification displayed to the user.

To post a comment you must log in.
Revision history for this message
Samuele Pedroni (pedronis) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'client/client.go'
2--- client/client.go 2014-04-15 13:09:40 +0000
3+++ client/client.go 2014-04-16 09:43:36 +0000
4@@ -304,9 +304,6 @@
5 h := map[string]*dbus.Variant{"x-canonical-switch-to-application": &dbus.Variant{true}}
6 nots := notifications.Raw(client.notificationsEndp, client.log)
7 body := "Tap to open the system updater."
8- if msg != nil {
9- body = fmt.Sprintf("[%d] %s", msg.TopLevel, body)
10- }
11 not_id, err := nots.Notify(
12 "ubuntu-push-client", // app name
13 uint32(0), // id

Subscribers

People subscribed via source and target branches