From c984125a2dbe35794918482421149d2f4c860ab2 Mon Sep 17 00:00:00 2001 From: Karsten Heimrich Date: Sat, 30 Aug 2008 14:25:12 +0000 Subject: [PATCH] * not zoomable, minimizable no hide shortcut, this will hide deskbar too git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27242 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/deskbar/CalendarMenuWindow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/deskbar/CalendarMenuWindow.cpp b/src/apps/deskbar/CalendarMenuWindow.cpp index 024d6b6209..108bf39443 100644 --- a/src/apps/deskbar/CalendarMenuWindow.cpp +++ b/src/apps/deskbar/CalendarMenuWindow.cpp @@ -79,12 +79,14 @@ enum { CalendarMenuWindow::CalendarMenuWindow(BPoint where, bool euroDate) : BWindow(BRect(0.0, 0.0, 100.0, 130.0), "", B_BORDERED_WINDOW, - B_AUTO_UPDATE_SIZE_LIMITS | B_ASYNCHRONOUS_CONTROLS | B_CLOSE_ON_ESCAPE), + B_AUTO_UPDATE_SIZE_LIMITS | B_ASYNCHRONOUS_CONTROLS | B_CLOSE_ON_ESCAPE | + B_NOT_MINIMIZABLE | B_NOT_ZOOMABLE), fYearLabel(NULL), fMonthLabel(NULL), fCalendarView(NULL), fSuppressFirstClose(true) { + RemoveShortcut('H', B_COMMAND_KEY | B_CONTROL_KEY); AddShortcut('W', B_COMMAND_KEY, new BMessage(B_QUIT_REQUESTED)); fYearLabel = new BStringView("year", "");