[gnote/gnome-3-8] Fix open note in new window context item sensibility
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote/gnome-3-8] Fix open note in new window context item sensibility
- Date: Sat, 11 May 2013 18:16:39 +0000 (UTC)
commit 0b584cdccbe0abe926eceeadf8d8cabd621377ac
Author: Aurimas Černius <aurisc4 gmail com>
Date: Sat May 11 21:14:29 2013 +0300
Fix open note in new window context item sensibility
Should not be sensitive if no note is selected.
src/searchnoteswidget.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/searchnoteswidget.cpp b/src/searchnoteswidget.cpp
index 1ab56fd..75ba950 100644
--- a/src/searchnoteswidget.cpp
+++ b/src/searchnoteswidget.cpp
@@ -830,10 +830,12 @@ void SearchNotesWidget::on_selection_changed()
if(selected_notes.empty()) {
m_open_note_action->property_sensitive() = false;
+ m_open_note_new_window_action->property_sensitive() = false;
m_delete_note_action->property_sensitive() = false;
}
else {
m_open_note_action->property_sensitive() = true;
+ m_open_note_new_window_action->property_sensitive() = true;
m_delete_note_action->property_sensitive() = true;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]