diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-10-25 13:45:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-10-25 16:23:27 +0200 |
commit | edcc3d66f9a107b8d9ffb3c5899e7863cf508484 (patch) | |
tree | 04d516ed031a4d0d81007409e8a7db2402e97fa9 | |
parent | 7e9671ab15bcf6173a7a26d951ff1a2793584b1b (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/inc/bitmaps.hlst | 3 | ||||
-rw-r--r-- | vcl/source/window/builder.cxx | 4 |
2 files changed, 6 insertions, 1 deletions
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(); } |