Otherwise, we end up with a single long row
pushing the content of all the other rows
off to the left, which is much worse than
ellipsizing.
Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4710
Bug-Debian: https://bugs.debian.org/
1043261
Applied-upstream: 4.9.3, commit:
463f12a3bb42c60e2b86093f443d9d14541c9852
Applied-upstream: 4.8.4, commit:
c4ddf47d8f0625e23c5677a412bcc6ba585fa5a8
Gbp-Pq: Name placessidebar-Make-all-rows-ellipsize.patch
case PROP_SECTION_TYPE:
self->section_type = g_value_get_enum (value);
- if (self->section_type == GTK_PLACES_SECTION_COMPUTER ||
- self->section_type == GTK_PLACES_SECTION_OTHER_LOCATIONS)
- gtk_label_set_ellipsize (GTK_LABEL (self->label_widget), PANGO_ELLIPSIZE_NONE);
- else
- gtk_label_set_ellipsize (GTK_LABEL (self->label_widget), PANGO_ELLIPSIZE_END);
break;
case PROP_PLACE_TYPE:
<object class="GtkLabel" id="label_widget">
<property name="hexpand">1</property>
<property name="xalign">0</property>
+ <property name="ellipsize">end</property>
<style>
<class name="sidebar-label"/>
</style>