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:
Matthias Clasen 2020-07-13 11:32:08 +00:00
commit e363b3a23c

View File

@ -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