[gnome-shell/datetime] Don't show "[All Day] Nothing Scheduled" for "This week" or "Next week"



commit dd8716e5d94eed20a956eb928658833b66e5ec71
Author: David Zeuthen <davidz redhat com>
Date:   Wed Jan 26 13:22:46 2011 -0500

    Don't show "[All Day] Nothing Scheduled" for "This week" or "Next week"
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 js/ui/calendar.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index 457d04e..edca1cc 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -690,13 +690,13 @@ EventsList.prototype = {
             dayBegin.setDate(dayEnd.getDate() + 1);
             dayEnd.setDate(dayBegin.getDate() + 6 - dayBegin.getDay());
 
-            this._addPeriod(_("Next week"), dayBegin, dayEnd, true, true);
+            this._addPeriod(_("Next week"), dayBegin, dayEnd, true, false);
             return;
         } else {
             let d = 6 - dayEnd.getDay() - 1;
             dayBegin.setDate(dayBegin.getDate() + 1);
             dayEnd.setDate(dayEnd.getDate() + 1 + d);
-            this._addPeriod(_("This week"), dayBegin, dayEnd, true, true);
+            this._addPeriod(_("This week"), dayBegin, dayEnd, true, false);
         }
     },
 



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