textview: Set use-underline in popover GtkToolButtons

This commit is contained in:
Carlos Garnacho 2013-12-23 18:44:34 +01:00
parent 3e6462c71b
commit d7acd29421

View File

@ -8914,6 +8914,7 @@ append_bubble_action (GtkTextView *text_view,
gboolean sensitive)
{
GtkToolItem *item = gtk_tool_button_new (NULL, label);
gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (item), TRUE);
g_object_set_data (G_OBJECT (item), I_("gtk-signal"), (char *)signal);
g_signal_connect (item, "clicked", G_CALLBACK (activate_bubble_cb), text_view);
gtk_widget_set_sensitive (GTK_WIDGET (item), sensitive);