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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 8 07:49:55 PST 2012


 vcl/inc/svids.hrc             |    1 +
 vcl/source/src/images.src     |    5 +++++
 vcl/source/window/builder.cxx |    2 ++
 3 files changed, 8 insertions(+)

New commits:
commit a084c6edd402fc65a87088bf88c7e4f134beba1b
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 8 15:49:32 2012 +0000

    add a SV_RESID_BITMAP_REFRESH id and map to gtk-refresh
    
    Change-Id: If860b33ab86b195952cd7879de16c65221a21ab5

diff --git a/vcl/inc/svids.hrc b/vcl/inc/svids.hrc
index 5abe5bd..19e13a4 100644
--- a/vcl/inc/svids.hrc
+++ b/vcl/inc/svids.hrc
@@ -42,6 +42,7 @@
 #define SV_RESID_BITMAP_SCROLLBMP           1051
 #define SV_RESID_BITMAP_CLOSEDOC            1052
 #define SV_RESID_BITMAP_INDEX               1053
+#define SV_RESID_BITMAP_REFRESH             1054
 
 #define SV_DISCLOSURE_PLUS                  1060
 #define SV_DISCLOSURE_MINUS                 1061
diff --git a/vcl/source/src/images.src b/vcl/source/src/images.src
index eb3bb50..7576528 100644
--- a/vcl/source/src/images.src
+++ b/vcl/source/src/images.src
@@ -73,6 +73,11 @@ Bitmap SV_RESID_BITMAP_INDEX
     File = "index.png";
 };
 
+Bitmap SV_RESID_BITMAP_REFRESH
+{
+    File = "reload.png";
+};
+
 Bitmap SV_RESID_BITMAP_SPLITHPIN
 {
     File = "splhpin.png";
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 328d904..ffe728f 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -39,6 +39,8 @@ namespace
         sal_uInt16 nRet = 0;
         if (sType == "gtk-index")
             nRet = SV_RESID_BITMAP_INDEX;
+        else if (sType == "gtk-refresh")
+            nRet = SV_RESID_BITMAP_REFRESH;
         return nRet;
     }
 


More information about the Libreoffice-commits mailing list