forked from AuroraMiddleware/gtk
text: Refine the touch popup
The touch popup was meant to have linked buttons.
This commit is contained in:
parent
802c426d89
commit
836b5a217a
@ -5852,8 +5852,8 @@ gtk_text_selection_bubble_popup_show (gpointer user_data)
|
||||
box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
|
||||
g_object_set (box, "margin", 10, NULL);
|
||||
gtk_widget_show (box);
|
||||
toolbar = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
|
||||
gtk_widget_show (toolbar);
|
||||
toolbar = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (toolbar), "linked");
|
||||
gtk_container_add (GTK_CONTAINER (priv->selection_bubble), box);
|
||||
gtk_container_add (GTK_CONTAINER (box), toolbar);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user