[Libreoffice-commits] core.git: vcl/inc vcl/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 25 14:24:06 UTC 2019


 vcl/inc/bitmaps.hlst          |    3 ++-
 vcl/source/window/builder.cxx |    4 ++++
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit edcc3d66f9a107b8d9ffb3c5899e7863cf508484
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 25 13:45:37 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 25 16:23:27 2019 +0200

    map gtk-add and gtk-remove icons
    
    Change-Id: I2c96ecbc4f8e8a45459d497c7e5183fec2e9f0cd
    Reviewed-on: https://gerrit.libreoffice.org/81502
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/inc/bitmaps.hlst b/vcl/inc/bitmaps.hlst
index b5242aa79794..56dac252b77b 100644
--- a/vcl/inc/bitmaps.hlst
+++ b/vcl/inc/bitmaps.hlst
@@ -142,11 +142,12 @@
 #define IMG_WARN    "dbaccess/res/exwarning.png"
 #define IMG_ERROR   "dbaccess/res/exerror.png"
 #define IMG_INFO    "dbaccess/res/exinfo.png"
+#define IMG_ADD     "extensions/res/scanner/plus.png"
+#define IMG_REMOVE  "extensions/res/scanner/minus.png"
 
 #define RID_BMP_TREENODE_COLLAPSED  "res/plus.png"
 #define RID_BMP_TREENODE_EXPANDED   "res/minus.png"
 
-
 #define RID_CURSOR_AUTOSCROLL_E      "vcl/res/autoscroll_e.png"
 #define RID_CURSOR_AUTOSCROLL_N      "vcl/res/autoscroll_n.png"
 #define RID_CURSOR_AUTOSCROLL_NE     "vcl/res/autoscroll_ne.png"
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index ac8ee8daf4f4..4b61fedc9112 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -82,6 +82,10 @@ namespace
             return IMG_APPLY;
         else if (sType == "gtk-dialog-error")
             return IMG_ERROR;
+        else if (sType == "gtk-add")
+            return IMG_ADD;
+        else if (sType == "gtk-remove")
+            return IMG_REMOVE;
         return OUString();
     }
 


More information about the Libreoffice-commits mailing list