From f3b98651b8216a49e7a578175d5ba605c974511e Mon Sep 17 00:00:00 2001
From: Humdinger <humdingerb@gmail.com>
Date: Sat, 16 Aug 2014 14:20:06 +0200
Subject: [PATCH] BSnow apparently has to message Tracker's BView #0, not 1.
---
src/apps/bsnow/SnowView.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/apps/bsnow/SnowView.cpp b/src/apps/bsnow/SnowView.cpp
index 7fdbc6f..d4e3035 100644
a
|
b
|
void SnowView::Pulse()
|
308 | 308 | BMessage msg(B_GET_PROPERTY), reply; |
309 | 309 | msg.AddSpecifier("Frame"); |
310 | 310 | msg.AddSpecifier("View", "BSnow"); |
311 | | msg.AddSpecifier("Window", 1); /* 0 is Twitcher */ |
| 311 | msg.AddSpecifier("Window", int32(0)); |
312 | 312 | if (msgr.SendMessage(&msg, &reply) == B_OK && reply.what == B_REPLY) { |
313 | 313 | //reply.PrintToStream(); |
314 | 314 | Invalidate(Bounds()); |
… |
… |
void SnowView::MouseUp(BPoint where)
|
511 | 511 | msg.AddSpecifier("Replicant", "BSnow"); |
512 | 512 | msg.AddSpecifier("Shelf"); |
513 | 513 | msg.AddSpecifier("View", "PoseView"); |
514 | | msg.AddSpecifier("Window", 1); /* 0 is Tracker Status */ |
| 514 | msg.AddSpecifier("Window", int32(0)); |
515 | 515 | if ((msgr.SendMessage(&msg, &reply) == B_OK) && |
516 | 516 | (reply.what == B_NO_REPLY || reply.what == B_REPLY)) { |
517 | 517 | //reply.PrintToStream(); |