[gnome-calendar] Bug: Not updating toolbar when changing view through AppMenu.



commit d9a3b7ae11ebd5c4b6cf8b105d2e8e206abaa433
Author: Erick PÃrez Castellanos <erick red gmail com>
Date:   Wed Nov 21 22:49:05 2012 -0500

    Bug: Not updating toolbar when changing view through AppMenu.

 TODO              |    1 -
 src/gcal-window.c |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/TODO b/TODO
index 1a6a269..17f0105 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 ab455da..e2bb482 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)



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