[vlc-commits] Make Mac description similar to other
Jean-Baptiste Kempf
git at videolan.org
Fri Feb 14 11:42:46 CET 2014
npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb 14 11:42:21 2014 +0100| [52d8dc17058ed5ddc1e2f66e0c189b56bdf3b090] | committer: Jean-Baptiste Kempf
Make Mac description similar to other
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=52d8dc17058ed5ddc1e2f66e0c189b56bdf3b090
---
npapi/package/vlc.r.in | 5 +++--
npapi/vlcplugin_mac.mm | 2 +-
npapi/vlcwindowless_mac.cpp | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/npapi/package/vlc.r.in b/npapi/package/vlc.r.in
index 695e042..74310d1 100644
--- a/npapi/package/vlc.r.in
+++ b/npapi/package/vlc.r.in
@@ -13,9 +13,10 @@ data 'carb' (0)
resource 'STR#' (126)
{
{
- "@COPYRIGHT_MESSAGE@"
+ "VLC media player Web Plugin @VERSION@"
+ "<BR>@COPYRIGHT_MESSAGE@"
"<BR><A HREF='http://www.videolan.org'>http://www.videolan.org</A>",
- "VLC Multimedia Plug-in"
+ "VLC Web Plugin"
};
};
diff --git a/npapi/vlcplugin_mac.mm b/npapi/vlcplugin_mac.mm
index 5ee44e0..220c778 100644
--- a/npapi/vlcplugin_mac.mm
+++ b/npapi/vlcplugin_mac.mm
@@ -498,7 +498,7 @@ bool VlcPluginMac::handle_event(void *event)
(const void **)&keys,
(const void **)&values,
2, NULL, NULL);
- CFAttributedStringRef attRef = CFAttributedStringCreate(kCFAllocatorDefault, CFSTR("VLC Multimedia Plug-in"), stylesDict);
+ CFAttributedStringRef attRef = CFAttributedStringCreate(kCFAllocatorDefault, CFSTR("VLC Web Plugin"), stylesDict);
CTLineRef textLine = CTLineCreateWithAttributedString(attRef);
CGRect textRect = CTLineGetImageBounds(textLine, cgContext);
CGContextSetTextPosition(cgContext, ((windowWidth - textRect.size.width) / 2), ((windowHeight - textRect.size.height) / 2));
diff --git a/npapi/vlcwindowless_mac.cpp b/npapi/vlcwindowless_mac.cpp
index 2d0c226..f620511 100644
--- a/npapi/vlcwindowless_mac.cpp
+++ b/npapi/vlcwindowless_mac.cpp
@@ -76,7 +76,7 @@ void VlcWindowlessMac::drawNoPlayback(CGContextRef cgContext)
(const void **)&keys,
(const void **)&values,
2, NULL, NULL);
- CFAttributedStringRef attRef = CFAttributedStringCreate(kCFAllocatorDefault, CFSTR("VLC Multimedia Plug-in"), stylesDict);
+ CFAttributedStringRef attRef = CFAttributedStringCreate(kCFAllocatorDefault, CFSTR("VLC Web Plugin"), stylesDict);
CTLineRef textLine = CTLineCreateWithAttributedString(attRef);
CGRect textRect = CTLineGetImageBounds(textLine, cgContext);
CGContextSetTextPosition(cgContext, ((windowWidth - textRect.size.width) / 2), ((windowHeight - textRect.size.height) / 2));
More information about the vlc-commits
mailing list