]> granicus.if.org Git - transmission/commit
(trunk gtk) set GtkLabel's "single-line-mode" flag to TRUE in the toolbar, in the...
authorJordan Lee <jordan@transmissionbt.com>
Fri, 21 Jan 2011 17:31:35 +0000 (17:31 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Fri, 21 Jan 2011 17:31:35 +0000 (17:31 +0000)
commit287d61197a2684da30c9e3aecb0e09829e5a0ce7
tree30807cf8dee2007948fa846aa5f457e1519295fa
parentacd941f17a7cdc43cb997d8963982ac27f7c0f20
(trunk gtk) set GtkLabel's "single-line-mode" flag to TRUE in the toolbar, in the stats dialog, and in the details dialog's info tab.

According to the GTK+ documentation, this "can be an advantage in situations where resizing the label because of text changes would be distracting, e.g. in a statusbar." It doesn't seem to prevent relayout in GTK+ 2.20.1, but maybe other versions of GTK+ will make better use of the flag.
gtk/details.c
gtk/stats.c
gtk/tr-window.c