[vlc-devel] commit: macosx: make sure that the messages panel is updated nicely, when on screen ( Felix Paul Kühne )
git version control
git at videolan.org
Sun Feb 15 18:43:01 CET 2009
vlc | branch: 0.9-bugfix | Felix Paul Kühne <fkuehne at videolan.org> | Sun Feb 15 16:22:13 2009 +0100| [340e11477513fb36117ca6c7a54259f5dae4909e] | committer: Felix Paul Kühne
macosx: make sure that the messages panel is updated nicely, when on screen
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=340e11477513fb36117ca6c7a54259f5dae4909e
---
modules/gui/macosx/intf.m | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 040b17b..eb6e92e 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -2317,6 +2317,8 @@ end:
{
if( [o_notification object] == o_msgs_panel )
{
+ [self updateMessageArray];
+
id o_msg;
NSEnumerator * o_enum;
@@ -2335,6 +2337,12 @@ end:
}
}
+- (void)windowDidUpdate:(NSNotification *)o_notification
+{
+ if( [o_notification object] == o_msgs_panel )
+ [self updateMessageArray];
+}
+
- (void)updateMessageArray
{
int i_start, i_stop;
More information about the vlc-devel
mailing list