sfx2/source/dialog/backingwindow.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 1490923bea9c3ec763488a73912ff0a143329a24
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Oct 5 12:43:30 2022 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Oct 5 15:53:44 2022 +0200

    Related: tdf#151351 don't use stack/highlight bg for buttons
    
    in favor of reworked flat button default rendering
    
    Change-Id: Id1d4b773aa0bf91be0386bd9db3bb212d422f216
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140980
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sfx2/source/dialog/backingwindow.cxx 
b/sfx2/source/dialog/backingwindow.cxx
index ba55b7a6569d..d7889dd87913 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -597,9 +597,7 @@ IMPL_LINK( BackingWindow, ToggleHdl, weld::Toggleable&, 
rButton, void )
         mxAllRecentThumbnails->Show();
         mxAllRecentThumbnails->GrabFocus();
         mxRecentButton->set_active(true);
-        mxRecentButton->set_highlight_background();
         mxTemplateButton->set_active(false);
-        mxTemplateButton->set_stack_background();
         mxActions->set_sensitive(true);
     }
     else
@@ -610,9 +608,7 @@ IMPL_LINK( BackingWindow, ToggleHdl, weld::Toggleable&, 
rButton, void )
         mxLocalView->reload();
         mxLocalView->GrabFocus();
         mxRecentButton->set_active(false);
-        mxRecentButton->set_stack_background();
         mxTemplateButton->set_active(true);
-        mxTemplateButton->set_highlight_background();
         mxActions->set_sensitive(false);
     }
     applyFilter();

Reply via email to