[gnome-shell] calendar: Fix thinko



commit 3eb8b9ef681e9e73b42f7d9af807c066274b928f
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Mar 10 21:06:53 2015 +0100

    calendar: Fix thinko
    
    Without an explicit index, messages should be added at the end of
    the list.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745988

 js/ui/calendar.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/calendar.js b/js/ui/calendar.js
index b6f1cb1..22c0c2c 100644
--- a/js/ui/calendar.js
+++ b/js/ui/calendar.js
@@ -1289,7 +1289,7 @@ const MessageListSection = new Lang.Class({
     },
 
     addMessage: function(message, animate) {
-        this.addMessageAtIndex(message, 0, animate);
+        this.addMessageAtIndex(message, -1, animate);
     },
 
     addMessageAtIndex: function(message, index, animate) {


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