[geary/cherry-pick-704cb1ca] Merge branch 'wip/24-folder-popover-selection' into 'master'
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/cherry-pick-704cb1ca] Merge branch 'wip/24-folder-popover-selection' into 'master'
- Date: Thu, 5 Jul 2018 04:41:47 +0000 (UTC)
commit 2a21b683b3ab5c6bec16a24f2cf523ada9c5e61d
Author: Michael Gratton <mike vee net>
Date: Thu Jul 5 04:40:05 2018 +0000
Merge branch 'wip/24-folder-popover-selection' into 'master'
Unselect folder popover rows on text entered to avoid phantom selection.
Closes #24
See merge request GNOME/geary!17
(cherry picked from commit 704cb1cad533c4b407e294d370fd45e43cc9b278)
9596221a Unselect folder popover rows on text entered to avoid phantom selection.
src/client/components/folder-popover.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/client/components/folder-popover.vala b/src/client/components/folder-popover.vala
index 9b377c8f..6612d5ce 100644
--- a/src/client/components/folder-popover.vala
+++ b/src/client/components/folder-popover.vala
@@ -107,6 +107,9 @@ public class FolderPopover : Gtk.Popover {
[GtkCallback]
private void on_search_entry_search_changed() {
invalidate_filter();
+ if (this.search_entry.get_text() != "") {
+ this.list_box.unselect_all();
+ }
}
private void invalidate_filter() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]