Commit 78a12d6
findbar: Hide when pressing Escape
Connect a handler for the GTK stop-search signal, and hide the FindBar
when it is received.
Although there exists code in FileDiff.on_key_event to handle Escape
key presses, Escape key press events are not propagated when the
GtkSearchEntry has focus.1 parent 2fa7684 commit 78a12d6
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
0 commit comments