[PATCH] Set line wrap on the info bar (#888112).

Brian C. Lane bcl at redhat.com
Tue Dec 18 19:35:57 UTC 2012


On Tue, Dec 18, 2012 at 11:05:50AM -0500, Chris Lumens wrote:
> ---
>  widgets/src/BaseWindow.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/widgets/src/BaseWindow.c b/widgets/src/BaseWindow.c
> index 23b9998..f417260 100644
> --- a/widgets/src/BaseWindow.c
> +++ b/widgets/src/BaseWindow.c
> @@ -429,6 +429,8 @@ static void anaconda_base_window_set_info_bar(AnacondaBaseWindow *win, GtkMessag
>          return;
>  
>      label = gtk_label_new(_(msg));
> +    gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
> +    gtk_label_set_line_wrap_mode(GTK_LABEL(label), PANGO_WRAP_WORD);
>      gtk_widget_show(label);
>  
>      win->priv->info_bar = gtk_info_bar_new();
> -- 
> 1.7.11.2

Ack

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20121218/68441786/attachment.sig>


More information about the anaconda-patches mailing list