Commit e630f102 authored by Adrien Plazas's avatar Adrien Plazas
Browse files

Merge branch 'wip/sadiq/cherry-pick' into 'librem5-3-24-20'

Cherry pick some upstream touch fixes

See merge request Librem5/gtk!16
parents 69caa5ad 748c074a
Pipeline #58451 failed with stages
in 4 minutes and 47 seconds
......@@ -4667,6 +4667,7 @@ gtk_entry_show_magnifier (GtkEntry *entry,
_gtk_magnifier_set_coords (GTK_MAGNIFIER (priv->magnifier), rect.x,
rect.y + rect.height / 2);
rect.x = CLAMP (rect.x, 0, allocation.width);
gtk_popover_set_pointing_to (GTK_POPOVER (priv->magnifier_popover),
&rect);
gtk_popover_popup (GTK_POPOVER (priv->magnifier_popover));
......
......@@ -9674,7 +9674,11 @@ activate_bubble_cb (GtkWidget *item,
signal = g_object_get_qdata (G_OBJECT (item), quark_gtk_signal);
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment