From fbe27baa4c3b15c98c8149712ae64b01a85afbf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 15 Oct 2004 09:54:15 +0000 Subject: [PATCH] removed B_PULSE_NEEDED flag, fixed BRect size git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9364 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bin/desklink/DeskButton.h | 2 +- src/apps/bin/desklink/desklink.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/bin/desklink/DeskButton.h b/src/apps/bin/desklink/DeskButton.h index 80b799fccf..0ac89f6458 100644 --- a/src/apps/bin/desklink/DeskButton.h +++ b/src/apps/bin/desklink/DeskButton.h @@ -24,7 +24,7 @@ class DeskButton : public BView { public: DeskButton(BRect frame, entry_ref *ref, const char *name, BList &titleList, BList &actionList, uint32 resizeMask = B_FOLLOW_ALL, - uint32 flags = B_WILL_DRAW | B_NAVIGABLE | B_PULSE_NEEDED); + uint32 flags = B_WILL_DRAW | B_NAVIGABLE); DeskButton(BMessage *); // BMessage * based constructor needed to support archiving diff --git a/src/apps/bin/desklink/desklink.cpp b/src/apps/bin/desklink/desklink.cpp index 1b19d6d35e..266fb92861 100644 --- a/src/apps/bin/desklink/desklink.cpp +++ b/src/apps/bin/desklink/desklink.cpp @@ -59,7 +59,7 @@ class MediaReplicant : public BView { public: MediaReplicant(BRect frame, const char *name, uint32 resizeMask = B_FOLLOW_ALL, - uint32 flags = B_WILL_DRAW | B_NAVIGABLE | B_PULSE_NEEDED); + uint32 flags = B_WILL_DRAW | B_NAVIGABLE); MediaReplicant(BMessage *); // BMessage * based constructor needed to support archiving @@ -419,7 +419,7 @@ main(int, char **argv) entry.GetRef(&ref); status_t err; - err = BDeskbar().AddItem(new DeskButton(BRect(0, 0, 16, 16), &ref, "DeskButton", + err = BDeskbar().AddItem(new DeskButton(BRect(0, 0, 15, 15), &ref, "DeskButton", titleList, actionList)); if(err!=B_OK) {