Hooked GcalYearView into GcalWindow and GcalApplication.
This works amost flawlessly since GcalView interface and it's methods take care of almost everything. Yet, this made me realize some toolbar bug.
This commit is contained in:
committed by
Rene A. Viant Moran
parent
bb7e518fa4
commit
a00ec9edc2
@@ -194,6 +194,7 @@ gcal_application_set_app_menu (GApplication *app)
|
||||
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_section (app_menu, _("View as"), G_MENU_MODEL (view_as));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user