[gnote/gnome-3-10] Do not close main window on escape
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/gnome-3-10] Do not close main window on escape
- Date: Sat, 28 Dec 2013 14:06:00 +0000 (UTC)
commit 8b179ffa7f053b444899592fe7827799186e1924
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sun Dec 22 00:06:36 2013 +0200
Do not close main window on escape
src/recentchanges.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 214cfe5..e6a079e 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -380,8 +380,7 @@ namespace gnote {
m_search_button.set_active(false);
}
// Allow Escape to close the window
- else if(close_on_escape()
- || &m_search_notes_widget == dynamic_cast<SearchNotesWidget*>(currently_embedded())) {
+ else if(close_on_escape()) {
close_window();
}
else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]