Merge lp:~robru/unity-webapps-reddit/lp-1059882 into lp:unity-webapps-reddit

Proposed by Robert Bruce Park
Status: Merged
Approved by: Robert Bruce Park
Approved revision: 36
Merged at revision: 39
Proposed branch: lp:~robru/unity-webapps-reddit/lp-1059882
Merge into: lp:unity-webapps-reddit
Diff against target: 16 lines (+3/-3)
1 file modified
Reddit.user.js (+3/-3)
To merge this branch: bzr merge lp:~robru/unity-webapps-reddit/lp-1059882
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Alexandre Abreu (community) Approve
Francis Ginther Abstain
Stephen Kraemer (community) Approve
Víctor R. Ruiz Pending
Review via email: mp+164559@code.launchpad.net

Commit message

Don't highlight messaging menu when reddit doesn't have messages (thanks to straemer).

Description of the change

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Francis Ginther (fginther) wrote :

Build failed due to attempting to download suacy packages from ppa:webapps/staging before any saucy packages exist. I've manually added a saucy package (for webapps-applications) and we should be able to retry this build when it finishes publishing.

Revision history for this message
Víctor R. Ruiz (vrruiz) wrote :

Thanks, Francis!

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Stephen Kraemer (straemer) :
review: Approve
Revision history for this message
Stephen Kraemer (straemer) wrote :

What is the status on getting this patch merged in? And is there any chance that it will be merged back into Raring and Quantal as well? It's a pretty annoying bug in this application...

Revision history for this message
Stephen Kraemer (straemer) wrote :

Hi, still waiting on an update for this please.

Revision history for this message
Francis Ginther (fginther) wrote :

The jenkins issue was resolved some time ago and the ci build passed. I'm abstaining from reviewing the actual fix.

review: Abstain
Revision history for this message
Robert Bruce Park (robru) wrote :

We need to hear from either Alex or Victor to get a final approval on this.

Revision history for this message
Alexandre Abreu (abreu-alexandre) wrote :

This would work as a quick fix, there is a branch somewhere (that needs a bit of cleanup) that kind of fixes that + other stuff to make reddit a better integrated script:

https://code.launchpad.net/~abreu-alexandre/webapps-applications/fix-reddit-integration-script/+merge/134386

I need to rework it a bit

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
36. By Robert Bruce Park

Fix style_checker.js warnings.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Reddit.user.js'
2--- Reddit.user.js 2013-06-11 17:37:07 +0000
3+++ Reddit.user.js 2013-06-12 19:28:26 +0000
4@@ -13,9 +13,9 @@
5 window.Unity = external.getUnityObject(1);
6
7 function setupIndicators() {
8- if (!document.getElementsByClassName("havemail")[0]) {
9- Unity.MessagingIndicator.showIndicator(_("Inbox"), {time: new Date()});
10- }
11+ Unity.MessagingIndicator.showIndicator(_("Inbox"), {
12+ count: document.getElementsByClassName("havemail")[0] !== undefined
13+ });
14
15 Unity.MessagingIndicator.addAction(_("Compose New Message"),
16 makeRedirector("http://www.reddit.com/message/compose/"));

Subscribers

People subscribed via source and target branches

to all changes: