[annum] Avoid loading a ListView into our ShellContent for now



commit 8c95bdb920c0ec5611c23b2a67c24baf12f8d383
Author: Gustavo Noronha Silva <gustavo noronha collabora co uk>
Date:   Mon Jan 25 18:51:18 2010 -0200

    Avoid loading a ListView into our ShellContent for now
    
    We are not prepared to support that view, anyway, and it causes a
    critical message when shutting down.

 src/annum-shell-content.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/annum-shell-content.c b/src/annum-shell-content.c
index dc75d2d..1071ab5 100644
--- a/src/annum-shell-content.c
+++ b/src/annum-shell-content.c
@@ -158,7 +158,10 @@ static void annum_shell_content_constructed (GObject * object)
 	/* Initialize it to today */
 	gnome_calendar_goto_today (calendar);
 
-	for (ii = 0; ii < GNOME_CAL_LAST_VIEW; ii++) {
+	/* FIXME: ListView is disabled for now - have to figure out
+	 * the ETable integration before enabling it.
+	 */
+	for (ii = 0; ii < GNOME_CAL_LIST_VIEW; ii++) {
 		calendar_view = gnome_calendar_get_calendar_view (calendar, ii);
 
 		gtk_notebook_append_page (GTK_NOTEBOOK (container),



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