projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bd6013
)
file chooser: Stop search when entry is cleared
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Jul 2015 04:12:33 +0000
(
00:12
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 15 Jul 2015 04:12:33 +0000
(
00:12
-0400)
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 8bb10f13ca32b57ee5cd127d7a254d2a9700b3b0..a13179bd0454349012f1883cc311af43875542e5 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-7186,6
+7186,8
@@
search_entry_activate_cb (GtkFileChooserWidget *impl)
if (text[0] != '\0')
search_start_query (impl, text);
+ else
+ search_stop_searching (impl, FALSE);
}
static void