* The Deskbar tray icon menu "Check Mail" and the status window "Check Now" button

are now only enabled if there are any inbound accounts.
* BMailSettings::StatusWindowFrame() now returns some useful defaults.
* Minor cleanup.
* The MDR kit needs some serious overhaul before it can be part of R1.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21493 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-06-22 00:15:17 +00:00
parent 4976138306
commit ca13bd31a7
4 changed files with 401 additions and 281 deletions
+14 -8
View File
@@ -1,15 +1,18 @@
/*
* Copyright 2001-2003 Dr. Zoidberg Enterprises. All rights reserved.
* Copyright 2004-2007, Haiku Inc. All rights reserved.
*
* Distributed under the terms of the MIT License.
*/
#ifndef ZOIDBERG_STATUS_WINDOW_H
#define ZOIDBERG_STATUS_WINDOW_H
/* StatusWindow - the status window while fetching/sending mails
**
** Copyright 2001-2003 Dr. Zoidberg Enterprises. All rights reserved.
*/
#include <Window.h>
#include <Alert.h>
#include <Box.h>
#include <List.h>
#include <Alert.h>
#include <Node.h>
#include <Window.h>
class BStatusBar;
class BStringView;
@@ -17,7 +20,7 @@ class BMailStatusView;
class BMailStatusWindow : public BWindow {
public:
BMailStatusWindow(BRect rect, const char *name, uint32 show_when);
BMailStatusWindow(BRect rect, const char *name, uint32 showMode);
~BMailStatusWindow();
virtual void FrameMoved(BPoint origin);
@@ -35,9 +38,12 @@ class BMailStatusWindow : public BWindow {
private:
friend class BMailStatusView;
void _CheckChains();
void SetBorderStyle(int32 look);
void ActuallyAddStatusView(BMailStatusView *status);
node_ref fChainDirectory;
BButton* fCheckNowButton;
BList fStatusViews;
uint32 fShowMode;
BView *fDefaultView;
@@ -47,7 +53,7 @@ class BMailStatusWindow : public BWindow {
int32 fWindowMoved;
int32 fLastWorkspace;
BRect fFrame;
uint32 _reserved[5];
};