[Zim] - Fix quicknote problem (#680057)
cheeselee
cheeselee at fedoraproject.org
Sun Mar 6 00:37:54 UTC 2011
commit 0799d87f2c44128d6245e98bc3a0efa3eb245b35
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Sun Mar 6 08:37:24 2011 +0800
- Fix quicknote problem (#680057)
Zim.spec | 8 +++++++-
zim-0.50-quicknote.patch | 13 +++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/Zim.spec b/Zim.spec
index d16ed34..333d9d5 100644
--- a/Zim.spec
+++ b/Zim.spec
@@ -1,6 +1,6 @@
Name: Zim
Version: 0.50
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Desktop wiki & notekeeper
Group: Applications/Editors
@@ -8,6 +8,8 @@ Group: Applications/Editors
License: GPLv2+ and LGPLv3+
URL: http://zim-wiki.org/
Source0: http://www.zim-wiki.org/downloads/zim-%{version}.tar.gz
+# https://bugs.launchpad.net/bugs/724258
+Patch0: zim-0.50-quicknote.patch
BuildArch: noarch
BuildRequires: desktop-file-utils
@@ -27,6 +29,7 @@ or to serve as a personal scratch book.
%prep
%setup -q -n zim-%{version}
+%patch0 -p0
%build
./setup.py build
@@ -78,6 +81,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{python_sitelib}/zim/
%changelog
+* Sun Mar 6 2011 Robin Lee <cheeselee at fedoraproject.org> - 0.50-2
+- Fix quicknote problem (#680057)
+
* Wed Feb 16 2011 Robin Lee <cheeselee at fedoraproject.org> - 0.50-1
- 0.50 (#654373, #657928)
- Remove redundant python sitelib definition
diff --git a/zim-0.50-quicknote.patch b/zim-0.50-quicknote.patch
new file mode 100644
index 0000000..6edea8a
--- /dev/null
+++ b/zim-0.50-quicknote.patch
@@ -0,0 +1,13 @@
+=== modified file 'zim/plugins/quicknote.py'
+--- zim/plugins/quicknote.py 2011-02-19 16:27:44 +0000
++++ zim/plugins/quicknote.py 2011-03-05 17:33:15 +0000
+@@ -290,7 +290,7 @@
+ path = self.form['page'].name
+ ui.append_text_to_page(path, '\n----\n'+text)
+ if self.open_page.get_active():
+- ui.present(page) # also works with proxy
++ ui.present(path) # also works with proxy
+
+ return True
+
+
More information about the scm-commits
mailing list