[gnome-calendar] year-view: fix marking and placing of events



commit c8339d333d3710ee49aac3cd496b6196542602ab
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Tue Jan 27 23:07:44 2015 -0500

    year-view: fix marking and placing of events

 src/gcal-year-view.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index c540ee0..6c046b9 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -308,7 +308,8 @@ update_sidebar (GcalYearView *year_view)
                 gtk_style_context_add_class (gtk_widget_get_style_context (cloned_child), "slanted-start");
               else if (end_comparison < 0)
                 gtk_style_context_add_class (gtk_widget_get_style_context (cloned_child), "slanted-end");
-              else
+
+              if (end_comparison == 0)
                 break;
             }
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]