[gtk/matthiasc/for-master: 6/6] inspector: Use substring matching in the property list
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 6/6] inspector: Use substring matching in the property list
- Date: Wed, 15 Jul 2020 15:30:38 +0000 (UTC)
commit c1c110ba65411453209e701d658eb5a3c2b2dfb0
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 15 11:29:06 2020 -0400
inspector: Use substring matching in the property list
This is convenient for things like "set both hexpand and
vexpand", since you can then search for "expand"
gtk/inspector/prop-list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/inspector/prop-list.c b/gtk/inspector/prop-list.c
index 5c5a2c5e33..44a3e8ce0b 100644
--- a/gtk/inspector/prop-list.c
+++ b/gtk/inspector/prop-list.c
@@ -114,7 +114,7 @@ gtk_inspector_prop_list_init (GtkInspectorPropList *pl)
pl->priv = gtk_inspector_prop_list_get_instance_private (pl);
gtk_widget_init_template (GTK_WIDGET (pl));
pl->priv->filter = gtk_string_filter_new ();
- gtk_string_filter_set_match_mode (GTK_STRING_FILTER (pl->priv->filter),
GTK_STRING_FILTER_MATCH_MODE_PREFIX);
+ gtk_string_filter_set_match_mode (GTK_STRING_FILTER (pl->priv->filter),
GTK_STRING_FILTER_MATCH_MODE_SUBSTRING);
sorter = gtk_string_sorter_new (gtk_cclosure_expression_new (G_TYPE_STRING, NULL,
0, NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]