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

  • From: jscipione@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 8 Jan 2017 22:09:01 +0100 (CET)

hrev50846 adds 1 changeset to branch 'master'
old head: ee7da1af0a35df5657bea667eee0546bd9ff301f
new head: bea76b8aa16061ddaa48ac90ac0a48663138ef2c
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=bea76b8aa160+%5Eee7da1af0a35

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

bea76b8aa160: Deskbar: Call parent AttachedToWindow() first
  
  must have connection to App Server before FetchIcon()
  
  Hopefully fixes #13172

                                     [ John Scipione <jscipione@xxxxxxxxx> ]

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

Revision:    hrev50846
Commit:      bea76b8aa16061ddaa48ac90ac0a48663138ef2c
URL:         http://cgit.haiku-os.org/haiku/commit/?id=bea76b8aa160
Author:      John Scipione <jscipione@xxxxxxxxx>
Date:        Sun Jan  8 21:02:54 2017 UTC

Ticket:      https://dev.haiku-os.org/ticket/13172

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

1 file changed, 2 insertions(+), 2 deletions(-)
src/apps/deskbar/BarMenuBar.cpp | 4 ++--

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

diff --git a/src/apps/deskbar/BarMenuBar.cpp b/src/apps/deskbar/BarMenuBar.cpp
index 70895c6..ad100fc 100644
--- a/src/apps/deskbar/BarMenuBar.cpp
+++ b/src/apps/deskbar/BarMenuBar.cpp
@@ -123,9 +123,9 @@ TBarMenuBar::~TBarMenuBar()
 void
 TBarMenuBar::AttachedToWindow()
 {
-       fDeskbarMenuItem->FetchIcon();
-
        BMenuBar::AttachedToWindow();
+
+       fDeskbarMenuItem->FetchIcon();
 }
 
 


Other related posts:

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