Commit graph

6 commits

Author SHA1 Message Date
Timm Bäder
fe77d8020a list-box-helper: Unset row header if unneeded
The usual implementation of the header func adds headers to all rows but
the first one. If the first row then gets removed, the second row
becomes the first and keeps its header, since nothing ever removes it.
Fix this by also removing the header if we are looking at the first row.

https://bugzilla.gnome.org/show_bug.cgi?id=743441
2015-01-28 12:15:10 +01:00
Bastien Nocera
f528de73aa shell: Make list box max height configurable
So that the Media sharing dialogue in the Sharing panel isn't too high.
2014-06-26 16:00:45 +02:00
Bastien Nocera
588928a946 shell: Add support for mixed height list boxes in helper
This fixes problems with the networks list boxes in the sharing panel
which have mixed heights.
2014-06-26 16:00:45 +02:00
Rui Matos
4393e212b1 shell: Make list box scrolling helper work for unmapped widgets 2014-06-26 14:46:19 +02:00
Rui Matos
61a6c6f0cb shell: Fix list box scrolling helper
GtkListBox doesn't implement GtkScrollable so it needs to be added to
a GtkViewport. Instead of having to do this in all .ui files, add a
new helper function to setup the widget tree correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=732175
2014-06-25 17:29:30 +02:00
Bastien Nocera
b3a61bc6f5 shell: Add GtkListBox helpers
Add helpers for GtkListBox sizing, and setting separators.

https://bugzilla.gnome.org/show_bug.cgi?id=732106
2014-06-24 11:35:30 +02:00