From 39ccfb29e97f137a539d461f3959a53b6e12dd82 Mon Sep 17 00:00:00 2001 From: "mozilla.mano%sent.com" Date: Mon, 3 Oct 2005 20:01:52 +0000 Subject: [PATCH] Bug 310894 - Bookmarks Manager: updating the sort direction / method from the View menu doesn't update the view until the columns headers are hovered. r=mento, sr=smfr. --- widget/src/mac/nsNativeThemeMac.cpp | 3 ++- widget/src/xpwidgets/nsNativeTheme.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/widget/src/mac/nsNativeThemeMac.cpp b/widget/src/mac/nsNativeThemeMac.cpp index de4a94ecc795..fa387b86c211 100644 --- a/widget/src/mac/nsNativeThemeMac.cpp +++ b/widget/src/mac/nsNativeThemeMac.cpp @@ -766,7 +766,8 @@ nsNativeThemeMac::WidgetStateChanged(nsIFrame* aFrame, PRUint8 aWidgetType, // disabled, checked, dlgtype, default, etc. *aShouldRepaint = PR_FALSE; if (aAttribute == mDisabledAtom || aAttribute == mCheckedAtom || - aAttribute == mSelectedAtom || aAttribute == mMenuActiveAtom) + aAttribute == mSelectedAtom || aAttribute == mMenuActiveAtom || + aAttribute == mSortDirectionAtom) *aShouldRepaint = PR_TRUE; } diff --git a/widget/src/xpwidgets/nsNativeTheme.h b/widget/src/xpwidgets/nsNativeTheme.h index edf0dda6dd3c..1c7676441789 100644 --- a/widget/src/xpwidgets/nsNativeTheme.h +++ b/widget/src/xpwidgets/nsNativeTheme.h @@ -163,6 +163,7 @@ protected: nsCOMPtr mReadOnlyAtom; nsCOMPtr mFirstTabAtom; nsCOMPtr mFocusedAtom; + nsCOMPtr mSortDirectionAtom; // these should be set to appropriate platform values by the subclass, to // match the values in forms.css. These defaults match forms.css @@ -192,5 +193,4 @@ private: nsCOMPtr mValueAtom; nsCOMPtr mModeAtom; nsCOMPtr mClassAtom; - nsCOMPtr mSortDirectionAtom; };