forked from AuroraMiddleware/gtk
textview: Set use-underline in popover GtkToolButtons
This commit is contained in:
parent
3e6462c71b
commit
d7acd29421
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user