From e6a38a23cdee64cab4aa1cbdfc2848a0a91bd8e6 Mon Sep 17 00:00:00 2001 From: Jason Conti Date: Mon, 29 Aug 2011 12:32:35 -0400 Subject: * Switch to gtk_menu_shell_prepend so new messages appear on top. --- src/indicator-notifications.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/indicator-notifications.c b/src/indicator-notifications.c index 3d4dc56..e34973b 100644 --- a/src/indicator-notifications.c +++ b/src/indicator-notifications.c @@ -198,7 +198,7 @@ message_received_cb(DBusSpy *spy, Notification *note, gpointer user_data) GtkWidget *item = new_notification_menuitem(note); g_object_unref(note); - gtk_menu_shell_append(GTK_MENU_SHELL(self->priv->menu), item); + gtk_menu_shell_prepend(GTK_MENU_SHELL(self->priv->menu), item); if(self->priv->pixbuf_unread != NULL) { self->priv->have_unread = TRUE; -- cgit v1.2.3