Make the infobar labels selectable.

This commit is contained in:
André Stösel 2011-07-26 21:44:17 +02:00 committed by Christian Dywan
parent 218c69880e
commit 25cdc7161b

View file

@ -1207,6 +1207,7 @@ midori_view_add_info_bar (MidoriView* view,
va_end (args); va_end (args);
label = gtk_label_new (message); label = gtk_label_new (message);
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END); gtk_label_set_ellipsize (GTK_LABEL (label), PANGO_ELLIPSIZE_END);
gtk_container_add (GTK_CONTAINER (content_area), label); gtk_container_add (GTK_CONTAINER (content_area), label);
gtk_widget_show_all (infobar); gtk_widget_show_all (infobar);