summaryrefslogtreecommitdiff
path: root/Applications/Calendar/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/Calendar/main.cpp')
-rw-r--r--Applications/Calendar/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Applications/Calendar/main.cpp b/Applications/Calendar/main.cpp
index e640964e72..bc4a872a97 100644
--- a/Applications/Calendar/main.cpp
+++ b/Applications/Calendar/main.cpp
@@ -78,6 +78,11 @@ int main(int argc, char** argv)
return;
}));
+ auto& help_menu = menubar->add_menu("Help");
+ help_menu.add_action(GUI::Action::create("About", [&](auto&) {
+ GUI::AboutDialog::show("Calendar", Gfx::Bitmap::load_from_file("/res/icons/16x16/app-calendar.png"), window);
+ }));
+
app->set_menubar(move(menubar));
app->exec();