summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnome-panel-2.18.0-fix-tasks.patch16
-rw-r--r--gnome-panel.spec10
2 files changed, 25 insertions, 1 deletions
diff --git a/gnome-panel-2.18.0-fix-tasks.patch b/gnome-panel-2.18.0-fix-tasks.patch
new file mode 100644
index 0000000..f7c9d39
--- /dev/null
+++ b/gnome-panel-2.18.0-fix-tasks.patch
@@ -0,0 +1,16 @@
+--- gnome-panel-2.18.0/applets/clock/calendar-client.c (revision 10319)
++++ gnome-panel-2.18.0/applets/clock/calendar-client.c (working copy)
+@@ -614,8 +614,13 @@
+ get_ical_percent_complete (icalcomponent *ical)
+ {
+ icalproperty *prop;
++ icalproperty_status status;
+ int percent_complete;
+
++ status = icalcomponent_get_status (ical);
++ if (status == ICAL_STATUS_COMPLETED)
++ return 100;
++
+ prop = icalcomponent_get_first_property (ical, ICAL_COMPLETED_PROPERTY);
+ if (prop)
+ return 100;
diff --git a/gnome-panel.spec b/gnome-panel.spec
index 0d89394..ffa28af 100644
--- a/gnome-panel.spec
+++ b/gnome-panel.spec
@@ -22,7 +22,7 @@
Summary: GNOME panel
Name: gnome-panel
Version: 2.18.0
-Release: 8%{?dist}
+Release: 9%{?dist}
URL: http://www.gnome.org
Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-panel/2.18/%{name}-%{version}.tar.bz2
Source1: redhat-panel-default-setup.entries
@@ -107,6 +107,9 @@ Patch20: gnome-panel-2.18.0-fix-name-too-long-error.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=413921
Patch21: gnome-panel-2.18.0-fix-invalid-read.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=416120
+Patch22: gnome-panel-2.18.0-fix-tasks.patch
+
Conflicts: gnome-power-manager < 2.15.3
%description
@@ -143,6 +146,7 @@ Panel Applets using the libpanel-applet library.
%patch19 -p1 -b .update-clock-immediately
%patch20 -p1 -b .fix-name-too-long-error
%patch21 -p1 -b .fix-invalid-read
+%patch22 -p1 -b .fix-tasks
. %{SOURCE4}
@@ -323,6 +327,10 @@ fi
%{_datadir}/gtk-doc
%changelog
+* Fri Apr 13 2007 Ray Strode <rstrode@redhat.com> - 2.18.0-9
+- Apply upstream patch from Ross Burton (upstream bug 416120)
+ to show completed tasks in the clock applet as completed.
+
* Wed Apr 4 2007 Ray Strode <rstrode@redhat.com> - 2.18.0-8
- fix invalid read and potentially fix 234544