From 0799d87f2c44128d6245e98bc3a0efa3eb245b35 Mon Sep 17 00:00:00 2001 From: Robin Lee Date: Mar 06 2011 00:37:24 +0000 Subject: - Fix quicknote problem (#680057) --- 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 - 0.50-2 +- Fix quicknote problem (#680057) + * Wed Feb 16 2011 Robin Lee - 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 + +