From d9a3b7ae11ebd5c4b6cf8b105d2e8e206abaa433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20P=C3=A9rez=20Castellanos?= Date: Wed, 21 Nov 2012 22:49:05 -0500 Subject: [PATCH] Bug: Not updating toolbar when changing view through AppMenu. --- TODO | 1 - src/gcal-window.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO b/TODO index 1a6a2691..17f01055 100644 --- a/TODO +++ b/TODO @@ -5,7 +5,6 @@ TODO surpass 31 days), when drawing(maybe mark in other color) and selecting, etc. !!! Fix GcalMonthView to take into account 31 days when in need of 42 cells instead of 35. - - Update toolbar when changing view through app_menu. - Review all-day checkbox and date/time fields interaction in GcalEditDialog - Check width of read-only layer in GcalEditDialog - Review the real need of GcalFloatingContainer diff --git a/src/gcal-window.c b/src/gcal-window.c index ab455da0..e2bb4825 100644 --- a/src/gcal-window.c +++ b/src/gcal-window.c @@ -592,6 +592,7 @@ gcal_window_set_active_view (GcalWindow *window, g_return_if_fail (GCAL_IS_WINDOW (window)); priv = window->priv; + gcal_toolbar_set_active_view (GCAL_TOOLBAR (priv->toolbar_actor), view_type); if ((activated_page = gtk_notebook_page_num (GTK_NOTEBOOK (priv->notebook), priv->views[view_type])) != -1)