BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / packageinstaller / UninstallWindow.cpp
blob7608be61f4963cd9e6b0789e00c5bd461c4eda0d
1 /*
2 * Copyright (c) 2007-2010, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
5 * Author:
6 * Ɓukasz 'Sil2100' Zemczak <sil2100@vexillium.org>
7 */
10 #include "UninstallWindow.h"
12 #include <Catalog.h>
13 #include <GroupLayout.h>
14 #include <Locale.h>
16 #include "main.h"
18 #undef B_TRANSLATION_CONTEXT
19 #define B_TRANSLATION_CONTEXT "UninstallWindow"
22 UninstallWindow::UninstallWindow()
24 BWindow(BRect(100, 100, 600, 300),
25 B_TRANSLATE("Installed packages"), B_TITLED_WINDOW,
26 B_NOT_ZOOMABLE | B_QUIT_ON_WINDOW_CLOSE | B_AUTO_UPDATE_SIZE_LIMITS)
28 SetLayout(new BGroupLayout(B_HORIZONTAL));
29 AddChild(new UninstallView());
33 void
34 UninstallWindow::Quit()
36 be_app->PostMessage(P_WINDOW_QUIT);
37 BWindow::Quit();