Merge lp://staging/~larsu/ido/lp1080076 into lp://staging/ido/14.04

Proposed by Lars Karlitski
Status: Merged
Approved by: Charles Kerr
Approved revision: 186
Merged at revision: 183
Proposed branch: lp://staging/~larsu/ido/lp1080076
Merge into: lp://staging/ido/14.04
Diff against target: 405 lines (+119/-88)
2 files modified
src/idomediaplayermenuitem.c (+39/-24)
src/idoplaybackmenuitem.c (+80/-64)
To merge this branch: bzr merge lp://staging/~larsu/ido/lp1080076
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+216864@code.staging.launchpad.net

Commit message

Make long track infos better readable

By (a) making the width of the menu slightly larger and (b) reducing the font size.

Also removes the hard-coded width of 200px in favor of a width based on font size (25 characters) and center the playback widget horizontally.

Description of the change

Make long track infos better readable

By (a) making the width of the menu slightly larger and (b) reducing the font size.

Also removes the hard-coded width of 200px in favor of a width based on font size (25 characters) and center the playback widget horizontally.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) wrote :

A good improvement.

One thing I'd like to see is for the new numbers 41, 2, and 76 introduced
in ido_playback_menu_item_draw() to be #defined instead of being raw magic
numbers.

I realize idomediaplayermenuitem.c is already a mess and don't have
any illusions about this making the code right. Still, the signposting will
be useful to anyone who has to work this code in the future.

review: Needs Fixing
lp://staging/~larsu/ido/lp1080076 updated
186. By Lars Karlitski

idoplaybackmenuitem: don't introduce even more magic numbers

Revision history for this message
Charles Kerr (charlesk) wrote :

Thanks :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches