summaryrefslogtreecommitdiffstats
path: root/src/gtk-helpers/autowrapped_label.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-04-14 20:25:21 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-04-14 20:25:21 +0200
commitaa77bb9ee015eace791d5331b5ce5fe9e5e14634 (patch)
tree25fe8f74dcc0d757a830a926b905ff43e842a01c /src/gtk-helpers/autowrapped_label.c
parent5fa98f594e9f4186a7c2042a422fdcfc65e7d30c (diff)
downloadabrt-aa77bb9ee015eace791d5331b5ce5fe9e5e14634.tar.gz
abrt-aa77bb9ee015eace791d5331b5ce5fe9e5e14634.tar.xz
abrt-aa77bb9ee015eace791d5331b5ce5fe9e5e14634.zip
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 <dvlasenk@redhat.com>
Diffstat (limited to 'src/gtk-helpers/autowrapped_label.c')
-rw-r--r--src/gtk-helpers/autowrapped_label.c2
1 files changed, 2 insertions, 0 deletions
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, <property name="ypad">NONZERO</property> 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