[ooo-build-commit] .: patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Tue May 25 14:43:15 PDT 2010


 patches/dev300/apply                                      |    1 
 patches/dev300/calc-insert-new-sheet-tab-svtools-fix.diff |   15 ++++++++++++++
 2 files changed, 16 insertions(+)

New commits:
commit f75aa41b14052f91ad8924e720b6fa8e3a502b73
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue May 25 17:43:02 2010 -0400

    Set the text color blue when the layer tab in Draw is set invisible.
    
    In Draw, the tabs of invisible layers should display blue text, but
    the text color remained black. (n#606434)
    
    * patches/dev300/apply:
    * patches/dev300/calc-insert-new-sheet-tab-svtools-fix.diff:

diff --git a/patches/dev300/apply b/patches/dev300/apply
index ed1816f..9877e63 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -3546,6 +3546,7 @@ calc-formula-variable-sep-config-check-sc.diff,   n#556142, i#106959, kohei
 calc-insert-new-sheet-tab-sc.diff,      kohei
 calc-insert-new-sheet-tab-svl.diff,     kohei
 calc-insert-new-sheet-tab-svtools.diff, kohei
+calc-insert-new-sheet-tab-svtools-fix.diff, n#606434, kohei
 
 # Support English function names in place of localized ones.
 calc-english-func-names-sc.diff,        i#38765, kohei
diff --git a/patches/dev300/calc-insert-new-sheet-tab-svtools-fix.diff b/patches/dev300/calc-insert-new-sheet-tab-svtools-fix.diff
new file mode 100644
index 0000000..3307a8d
--- /dev/null
+++ b/patches/dev300/calc-insert-new-sheet-tab-svtools-fix.diff
@@ -0,0 +1,15 @@
+diff --git svtools/source/control/tabbar.cxx svtools/source/control/tabbar.cxx
+index 4e0e586..02da672 100644
+--- svtools/source/control/tabbar.cxx
++++ svtools/source/control/tabbar.cxx
+@@ -1384,6 +1384,10 @@ void TabBar::Paint( const Rectangle& )
+             else
+                 SetTextColor( aFaceTextColor );
+ 
++            // This tab is "special", and a special tab needs a blue text.
++            if (bSpecialTab)
++                SetTextColor(Color(COL_LIGHTBLUE));
++
+             aDrawer.drawText(aText);
+ 
+             if ( bCurrent )


More information about the ooo-build-commit mailing list