entry: Make progress bar not pickable

There is no need for that, we don't want to
handle input here at all.
This commit is contained in:
Matthias Clasen 2019-03-14 19:15:31 -04:00
parent 5251253fc0
commit c3f43cf1f2

View File

@ -3105,6 +3105,7 @@ gtk_entry_ensure_progress_widget (GtkEntry *entry)
priv->progress_widget = g_object_new (GTK_TYPE_PROGRESS_BAR,
"css-name", "progress",
NULL);
gtk_widget_set_can_pick (priv->progress_widget, FALSE);
gtk_widget_set_parent (priv->progress_widget, GTK_WIDGET (entry));