Merge lp://qastaging/~tigrangab/plank/focused_window_font into lp://qastaging/plank

Proposed by Tigran Gabrielyan
Status: Merged
Merged at revision: 951
Proposed branch: lp://qastaging/~tigrangab/plank/focused_window_font
Merge into: lp://qastaging/plank
Diff against target: 12 lines (+2/-0)
1 file modified
lib/Items/ApplicationDockItem.vala (+2/-0)
To merge this branch: bzr merge lp://qastaging/~tigrangab/plank/focused_window_font
Reviewer Review Type Date Requested Status
Rico Tzschichholz Approve
Robert Dyer (community) Needs Information
Danielle Foré Pending
Review via email: mp+199349@code.qastaging.launchpad.net

Description of the change

When there are multiple windows opened of the same application, make the focused windows menu entry bold to know which one is focused.

To post a comment you must log in.
Revision history for this message
Robert Dyer (psybers) wrote :

I wonder if maybe it makes more sense to just remove the entry from the list...

I'm not a fan of the menu items changing often (based on context). Perhaps we could leave it and make it disabled?

Again, I'm asking for input from Dan here.

review: Needs Information
Revision history for this message
Tigran Gabrielyan (tigrangab) wrote :

The change for that is trivial, so just let me know the design choice, and I will fix it.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

I like it as it looks now. Hiding items for actual visible windows is not a good idea.

Two notes:
* I would only add the focus action for non-active windows.
* explicit use of copy "var font_description = window_item.get_pango_context ().get_font_description ().copy ();"

Revision history for this message
Danielle Foré (danrabbit) wrote :

I agree with Robert that insensitive makes more sense than bold.

In the case of switching windows, I think you're precisely not looking for the active window. So making it stand out by making it bold I think draws your attention in the opposite of the desired direction.

I also agree with Rico that removing the item doesn't sound right.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

OK, making them only insensitive seems fine then.

review: Needs Fixing
944. By Tigran Gabrielyan

Make active window's menu item insensitive

Revision history for this message
Tigran Gabrielyan (tigrangab) wrote :

I changed it to make it insensitive, here's how it looks: http://i.imgur.com/amDQcuW.png

Revision history for this message
Rico Tzschichholz (ricotz) :
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

to status/vote changes: