[gnome-activity-journal] Add patch to fix issue running with newest version of zeitgeist. Fixes bug #821121.
Mads Villadsen
maxx at fedoraproject.org
Sun Jul 22 19:11:17 UTC 2012
commit 093cd282c8262e5cee59f42689c32f2ee81e6a00
Author: Mads Villadsen <maxx at krakoa.dk>
Date: Sun Jul 22 21:08:30 2012 +0200
Add patch to fix issue running with newest version of zeitgeist. Fixes bug #821121.
gnome-activity-journal-fix-histogram-issue.patch | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/gnome-activity-journal-fix-histogram-issue.patch b/gnome-activity-journal-fix-histogram-issue.patch
new file mode 100644
index 0000000..73e87e0
--- /dev/null
+++ b/gnome-activity-journal-fix-histogram-issue.patch
@@ -0,0 +1,15 @@
+--- a/src/external.py
++++ b/src/external.py
+@@ -41,7 +41,11 @@
+ _restarted = False
+
+ def __init__(self):
+- self._extension = CLIENT._iface.get_extension("Log", "journal/activity")
++ if CLIENT.get_version() >= [0, 8, 99]:
++ self._extension = CLIENT._iface.get_extension("Histogram", "journal/activity")
++ else:
++ self._extension = CLIENT._iface.get_extension("Log", "journal/activity")
++
+
+ def _show_error(self):
+ dialog = gtk.MessageDialog(
More information about the scm-commits
mailing list