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
This commit is contained in:
Florian Müllner 2015-03-10 21:06:53 +01:00
parent f96077bd0f
commit 3eb8b9ef68

View File

@ -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) {