[haiku-commits] haiku: hrev47875 - src/servers/notification build/jam/images/definitions

  • From: pulkomandy@xxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 18 Sep 2014 17:41:00 +0200 (CEST)

hrev47875 adds 2 changesets to branch 'master'
old head: 016ef2de8b03d210c4256ef36a3b4c9b4561630e
new head: 3ae6595c3930331b01ec7841b4770d6e20707fa5
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=3ae6595+%5E016ef2d

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

a74b2df: Fix #9448. [notification_server] monitors screen resolution

                                                [ Janus <janus2@xxxxxxxxx> ]

3ae6595: Build fix.

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

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

3 files changed, 9 insertions(+), 1 deletion(-)
build/jam/images/definitions/regular            | 2 +-
src/servers/notification/NotificationWindow.cpp | 7 +++++++
src/servers/notification/NotificationWindow.h   | 1 +

############################################################################

Commit:      a74b2df99299e86a8f2a7f0994d342482958e3d4
URL:         http://cgit.haiku-os.org/haiku/commit/?id=a74b2df
Author:      Janus <janus2@xxxxxxxxx>
Date:        Mon Nov 11 21:19:55 2013 UTC
Committer:   Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Commit-Date: Thu Sep 18 15:06:15 2014 UTC

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

Fix #9448. [notification_server] monitors screen resolution

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

diff --git a/src/servers/notification/NotificationWindow.cpp 
b/src/servers/notification/NotificationWindow.cpp
index 73053e2..363b62c 100644
--- a/src/servers/notification/NotificationWindow.cpp
+++ b/src/servers/notification/NotificationWindow.cpp
@@ -112,6 +112,13 @@ NotificationWindow::FrameResized(float width, float height)
 
 
 void
+NotificationWindow::ScreenChanged(BRect frame, color_space mode)
+{
+       SetPosition();
+}
+
+
+void
 NotificationWindow::MessageReceived(BMessage* message)
 {
        switch (message->what) {
diff --git a/src/servers/notification/NotificationWindow.h 
b/src/servers/notification/NotificationWindow.h
index 2bbde55..10b2653 100644
--- a/src/servers/notification/NotificationWindow.h
+++ b/src/servers/notification/NotificationWindow.h
@@ -46,6 +46,7 @@ public:
        virtual void                                    
MessageReceived(BMessage*);
        virtual void                                    
WorkspaceActivated(int32, bool);
        virtual void                                    FrameResized(float 
width, float height);
+       virtual void                                    ScreenChanged(BRect 
frame, color_space mode);
        virtual BHandler*                               
ResolveSpecifier(BMessage*, int32, BMessage*,
                                                                                
int32, const char*);
                                                                                

############################################################################

Revision:    hrev47875
Commit:      3ae6595c3930331b01ec7841b4770d6e20707fa5
URL:         http://cgit.haiku-os.org/haiku/commit/?id=3ae6595
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Thu Sep 18 15:41:21 2014 UTC

Build fix.

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

diff --git a/build/jam/images/definitions/regular 
b/build/jam/images/definitions/regular
index 1c7c4f6..ec5e58d 100644
--- a/build/jam/images/definitions/regular
+++ b/build/jam/images/definitions/regular
@@ -239,7 +239,7 @@ AddFilesToHaikuImage home config settings Tracker "Tracker 
New Templates"
        :
        "<tracker-new-templates>C++ header"
        "<tracker-new-templates>C++ source"
-       "<tracker-new-templates>makefile"
+       "<tracker-new-templates>Makefile"
        "<tracker-new-templates>text file"
 ;
 


Other related posts:

  • » [haiku-commits] haiku: hrev47875 - src/servers/notification build/jam/images/definitions - pulkomandy