[gtk+/popovers: 20/26] textview: Set use-underline in popover GtkToolButtons



commit ef082a7e82abfeaffcf66789623b88826a681b22
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Dec 23 18:44:34 2013 +0100

    textview: Set use-underline in popover GtkToolButtons

 gtk/gtktextview.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 78e914b..7066b9c 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -8887,6 +8887,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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]