[Libreoffice-commits] core.git: icon-themes/breeze vcl/source

Szymon Kłos eszkadev at gmail.com
Wed Mar 8 18:48:39 UTC 2017


 icon-themes/breeze/res/notebookbar.png |binary
 vcl/source/control/tabctrl.cxx         |    2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b3dc0386bd0749ad93f5cd649176e028fe4e8360
Author: Szymon Kłos <eszkadev at gmail.com>
Date:   Wed Mar 8 17:26:37 2017 +0100

    tdf#106211 Add notebookbar icon transparency
    
    + modified icon (set transparent color to black)
    + added transparency support for loaded icon
    
    Change-Id: I2dd8581e7d667096f08eb8c4c038e96a7f007dd3
    Reviewed-on: https://gerrit.libreoffice.org/34979
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Szymon Kłos <eszkadev at gmail.com>

diff --git a/icon-themes/breeze/res/notebookbar.png b/icon-themes/breeze/res/notebookbar.png
index 3cb36d1..9557ad7 100644
Binary files a/icon-themes/breeze/res/notebookbar.png and b/icon-themes/breeze/res/notebookbar.png differ
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 7e8145d..34dc980 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -2211,7 +2211,7 @@ NotebookbarTabControl::NotebookbarTabControl(vcl::Window* pParent)
     , bLastContextWasSupported(true)
     , eLastContext(vcl::EnumContext::Context::Any)
 {
-    Bitmap aBitmap(VclResId(SV_RESID_BITMAP_NOTEBOOKBAR));
+    BitmapEx aBitmap(VclResId(SV_RESID_BITMAP_NOTEBOOKBAR), Color());
     InsertPage(1, "");
     SetPageImage(1, Image(aBitmap));
 }


More information about the Libreoffice-commits mailing list