Skip to content
Commit 79157f56 authored by Cosimo Cecchi's avatar Cosimo Cecchi
Browse files

pathbar: set a maximum label width for pathbar buttons

Set a maximum allowed width of 250px for pathbar button requisitions,
and ellipsize after that. This fixes buttons disappearing completely
from the pathbar in case there was not enough space to show the complete
folder name,

I am not sure I completely like this approach in all the situations,
since there might be some value in showing more of a very long folder
name if there's space available on screen, but unfortunately, it's not
really possible without restructuring completely the way NautilusPathBar
allocates children.

Adapted for master, and slightly modified from an initial patch by
Ted M Lin <tedmlin@gmail.com>

https://bugzilla.gnome.org/show_bug.cgi?id=313854
parent 71eb1deb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment