]> Pileus Git - ~andy/gtk/commit
bgo#327152 - Ellipsize long directory names in GtkPathBar, and better layout for...
authorDenis Chertykov <chertykov@gmail.com>
Fri, 5 Jun 2009 19:07:10 +0000 (14:07 -0500)
committerFederico Mena Quintero <federico@novell.com>
Fri, 5 Jun 2009 19:13:03 +0000 (14:13 -0500)
commit4d7bbd058ebf4451d8f5856f2193bf176df87644
tree89b8866986fb6d20def71d8dd965420f2d0da346
parent5bf51be57692a2d923e5059609d9ca7d924ca38c
bgo#327152 - Ellipsize long directory names in GtkPathBar, and better layout for the pathbar

Ellipsize labels in the Save folder's combo so they don't grow too wide.

Ellipsize labels in normal directory buttons in the pathbar, and make
their requisition's width reasonably small.  Use a tooltip for buttons
that got ellipsized.

Instead of placing the down-slider directly beside the last button in
the pathbar, use the remaining space in the pathbar for the last
button.  Use a different method to find the first visible button.
Walk down from the end, adding buttons until we use all free space.

Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtkfilechooserdefault.c
gtk/gtkpathbar.c