~khurshid-alam/indicator-datetime/xenial

« back to all changes in this revision

Viewing changes to debian/patches/show_in-progress_events.patch

  • Committer: Khurshid Alam (Technologist)
  • Date: 2016-03-17 18:12:55 UTC
  • Revision ID: khurshid.alam@linuxmail.org-20160317181255-uxjz8kpgn3jnpx2f
Applying patch to show in-progress events on the indicator

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- a/src/menu.cpp
 
2
+++ b/src/menu.cpp
 
3
@@ -158,7 +158,7 @@
 
4
 
 
5
         std::vector<Appointment> upcoming;
 
6
         for(const auto& a : m_state->calendar_upcoming->appointments().get())
 
7
-            if (begin <= a.begin)
 
8
+            if (begin <= a.end)
 
9
                 upcoming.push_back(a);
 
10
  
 
11
         if (m_upcoming != upcoming)