From 2098623e0db448eed4801acc05a54d17734e2cf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Thu, 16 Jun 2016 18:55:27 +0200 Subject: re-enable the calendar component in phone mode too --- tests/test-menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-menus.cpp b/tests/test-menus.cpp index 73592d0..8650201 100644 --- a/tests/test-menus.cpp +++ b/tests/test-menus.cpp @@ -102,7 +102,7 @@ protected: else expected_action = nullptr; - const auto calendar_expected = ((profile == Menu::Desktop) || (profile == Menu::DesktopGreeter)) + const auto calendar_expected = ((profile == Menu::Desktop) || (profile == Menu::DesktopGreeter) || (profile == Menu::Phone)) && (m_state->settings->show_calendar.get()); // get the calendar section @@ -420,7 +420,7 @@ protected: void InspectLocations(GMenuModel* menu_model, Menu::Profile profile) { - const bool locations_expected = profile == Menu::Desktop; + const bool locations_expected = (profile == Menu::Desktop) || (profile == Menu::Phone); // when there aren't any locations, confirm the menu is empty const std::vector empty; -- cgit v1.2.3