ui: integrated GcalDayView in GcalWindow

Initial work. Added option to GcalApplication action.
This commit is contained in:
Erick Pérez Castellanos
2014-12-04 17:10:22 -05:00
parent 42ff2e76da
commit 09f6261550
2 changed files with 10 additions and 7 deletions
+4 -3
View File
@@ -296,9 +296,10 @@ gcal_application_set_app_menu (GApplication *app)
g_action_map_add_action ( G_ACTION_MAP (app), G_ACTION (priv->view));
view_as = g_menu_new ();
g_menu_append (view_as, _("Weeks"), "app.view::week");
g_menu_append (view_as, _("Months"), "app.view::month");
g_menu_append (view_as, _("Years"), "app.view::year");
g_menu_append (view_as, _("Day"), "app.view::day");
g_menu_append (view_as, _("Week"), "app.view::week");
g_menu_append (view_as, _("Month"), "app.view::month");
g_menu_append (view_as, _("Year"), "app.view::year");
g_menu_append_section (app_menu, _("View as"), G_MENU_MODEL (view_as));