From aa77bb9ee015eace791d5331b5ce5fe9e5e14634 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 14 Apr 2011 20:25:21 +0200 Subject: wizard: implement long descriptions The change is somewhat big because I can no longer (ab)use tooltip to store event name. So I created a bit more generic method of remembering which events are shown and selected. Signed-off-by: Denys Vlasenko --- src/gtk-helpers/autowrapped_label.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gtk-helpers/autowrapped_label.c') diff --git a/src/gtk-helpers/autowrapped_label.c b/src/gtk-helpers/autowrapped_label.c index 01d8856b..130aa8a2 100644 --- a/src/gtk-helpers/autowrapped_label.c +++ b/src/gtk-helpers/autowrapped_label.c @@ -62,6 +62,8 @@ void make_label_autowrap_on_resize(GtkLabel *label) // So far, only tested to work on labels which were set up as: //gtk_label_set_justify(label, GTK_JUSTIFY_LEFT); //gtk_misc_set_alignment(GTK_MISC(label), /*xalign:*/ 0.0, /*yalign:*/ 0.0); + // yalign != 0 definitely breaks things! + // also, NONZERO would be bad /* Makes no sense on non-wrapped labels, so we can as well * set wrapping to "on" unconditionally, istead of making it a requirement -- cgit