[haiku-commits] haiku: hrev45519 - src/apps/deskbar

  • From: jscipione@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 17 Apr 2013 21:59:07 +0200 (CEST)

hrev45519 adds 1 changeset to branch 'master'
old head: 46575667eb1ef19ed835e8804b378983031fa7ab
new head: ab37997c98996620ae166cb9a9c48d26ec7cb0f3
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=ab37997+%5E4657566

----------------------------------------------------------------------------

ab37997: Style fix and comment update

                                     [ John Scipione <jscipione@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45519
Commit:      ab37997c98996620ae166cb9a9c48d26ec7cb0f3
URL:         http://cgit.haiku-os.org/haiku/commit/?id=ab37997
Author:      John Scipione <jscipione@xxxxxxxxx>
Date:        Wed Apr 17 19:58:42 2013 UTC

----------------------------------------------------------------------------

1 file changed, 3 insertions(+), 3 deletions(-)
src/apps/deskbar/BarApp.cpp | 6 +++---

----------------------------------------------------------------------------

diff --git a/src/apps/deskbar/BarApp.cpp b/src/apps/deskbar/BarApp.cpp
index 971d00c..fc060c2 100644
--- a/src/apps/deskbar/BarApp.cpp
+++ b/src/apps/deskbar/BarApp.cpp
@@ -470,8 +470,8 @@ TBarApp::MessageReceived(BMessage* message)
                        if (fPreferencesWindow != NULL)
                                
fPreferencesWindow->PostMessage(kUpdatePreferences);
 
-                       fBarWindow->SetFeel(fSettings.alwaysOnTop ?
-                               B_FLOATING_ALL_WINDOW_FEEL : 
B_NORMAL_WINDOW_FEEL);
+                       fBarWindow->SetFeel(fSettings.alwaysOnTop ? 
B_FLOATING_ALL_WINDOW_FEEL
+                               : B_NORMAL_WINDOW_FEEL);
                        break;
 
                case kAutoRaise:
@@ -753,7 +753,7 @@ TBarApp::AddTeam(team_id team, uint32 flags, const char* 
sig, entry_ref* ref)
 {
        if ((flags & B_BACKGROUND_APP) != 0
                || strcasecmp(sig, kDeskbarSignature) == 0) {
-               // it's a background app or Deskbar itself, don't add it
+               // don't add if a background app or Deskbar itself
                return;
        }
 


Other related posts:

  • » [haiku-commits] haiku: hrev45519 - src/apps/deskbar - jscipione