mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Merge branch 'wip/sadiq/fix-textview-select-all' into 'gtk-3-24'
text-view: Fix select-all from touch bubble See merge request GNOME/gtk!2227
This commit is contained in:
commit
e363b3a23c
@ -9692,7 +9692,11 @@ activate_bubble_cb (GtkWidget *item,
|
|||||||
|
|
||||||
signal = g_object_get_qdata (G_OBJECT (item), quark_gtk_signal);
|
signal = g_object_get_qdata (G_OBJECT (item), quark_gtk_signal);
|
||||||
gtk_widget_hide (text_view->priv->selection_bubble);
|
gtk_widget_hide (text_view->priv->selection_bubble);
|
||||||
g_signal_emit_by_name (text_view, signal);
|
|
||||||
|
if (strcmp (signal, "select-all") == 0)
|
||||||
|
g_signal_emit_by_name (text_view, "select-all", TRUE);
|
||||||
|
else
|
||||||
|
g_signal_emit_by_name (text_view, signal);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user