[gnote] * Delete notebook now works in the search dialog. (Closes #581222)
- From: Hubert Figuière <hub src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnote] * Delete notebook now works in the search dialog. (Closes #581222)
- Date: Mon, 4 May 2009 22:43:57 -0400 (EDT)
commit d215c1c1a78582eed27698cd8116d69724e25f60
Author: Hubert Figuiere <hub figuiere net>
Date: Mon May 4 21:10:57 2009 -0400
* Delete notebook now works in the search dialog. (Closes #581222)
---
NEWS | 1 +
src/recentchanges.cpp | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/NEWS b/NEWS
index 265388d..3564ec1 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Fixes:
for GNOME and XFCE (Closes #580481)
* Help didn't work in the Note windows. (Closes #581200)
* Notebook addin toolbar button was inconsistent. (Closes #581213)
+ * Delete notebook now works in the search dialog. (Closes #581222)
Translations:
diff --git a/src/recentchanges.cpp b/src/recentchanges.cpp
index 6c1d1a5..e232375 100644
--- a/src/recentchanges.cpp
+++ b/src/recentchanges.cpp
@@ -1344,7 +1344,7 @@ namespace gnote {
void NoteRecentChanges::on_delete_notebook()
{
notebooks::Notebook::Ptr notebook = get_selected_notebook ();
- if (notebook)
+ if (!notebook)
return;
notebooks::NotebookManager::prompt_delete_notebook (this, notebook);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]