* Moved "install to Deskbar" alert into the application.

* If you install ProcessController to the Deskbar after startup, its window
  is not opened anymore.
* When you install ProcessController, the Deskbar is only restarted if needed;
  this can probably be removed completely under Haiku.
* Renamed some menu items.
* Removed "Use Pulse's settings" menu item.
* Fixed remaining issues from bug #633 as far as ProcessController was concerned.
* Removed unused source files.
* Big cleanup, even though there could be done much much more.
* Compacted the source files a bit, merged PCView.cpp and PCView2.cpp to
  ProcessController.cpp to match the name of the class.
* Renamed PCUtils.{cpp|h} to Utilities.{cpp|h}


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17647 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-05-30 01:32:41 +00:00
parent c8882988b7
commit a12827f24d
40 changed files with 1285 additions and 2543 deletions
+11 -16
View File
@@ -1,9 +1,5 @@
/*
AutoIcon.cpp
ProcessController
© 2000, Georges-Edouard Berenger, All Rights Reserved.
ProcessController © 2000, Georges-Edouard Berenger, All Rights Reserved.
Copyright (C) 2004 beunited.org
This library is free software; you can redistribute it and/or
@@ -19,30 +15,30 @@
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "AutoIcon.h"
#include "PCUtils.h"
#include "Utilities.h"
#include <Bitmap.h>
#include <Entry.h>
#include <NodeInfo.h>
#include <Roster.h>
AutoIcon::~AutoIcon ()
AutoIcon::~AutoIcon()
{
if (fBitmap)
delete fBitmap;
delete fBitmap;
}
BBitmap* AutoIcon::bitmap ()
BBitmap*
AutoIcon::bitmap()
{
if (fBitmap == 0)
{
if (fBitmap == NULL) {
fBitmap = new BBitmap (BRect (0, 0, 15, 15), B_COLOR_8_BIT);
if (fSignature)
{
if (fSignature) {
entry_ref ref;
be_roster->FindApp (fSignature, &ref);
if (BNodeInfo::GetTrackerIcon(&ref, fBitmap, B_MINI_ICON) != B_OK)
@@ -54,4 +50,3 @@ BBitmap* AutoIcon::bitmap ()
return fBitmap;
}