Code review comment for lp:~bigwhale/gwibber/DMs

Revision history for this message
Ken VanDine (ken-vandine) wrote :

Looks great, a couple minor tweaks, in action-box.vala we shouldn't display the reply menu if the from_me is true or if the stream is private (since the private reply menu will cover that):

- if (service != "flicker" && service != "pingfm" && service != "foursquare" && service != "digg")
+ if ((service != "flicker" && service != "pingfm" && service != "foursquare" && service != "digg") && !from_me && stream != "private")

We should display the private reply menu for identica and statusnet too:

- if ((service == "twitter" || service != "identica") && !from_me)
+ if ((service == "twitter" || service == "identica" || service == "statusnet") && !from_me)

Of course once I convert the ActionBox to us the features API all that non-sense will go away, but I think this would be better for now.

It would also be nice to do some clipping on the overlay avatar, so the smaller one has rounder edges just like that bigger one. I won't block the merge for that, just a request for the future :)

« Back to merge proposal