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.

This commit is contained in:
mozilla.mano%sent.com 2005-10-03 20:01:52 +00:00
parent d4c7a6fc86
commit 39ccfb29e9
2 changed files with 3 additions and 2 deletions

View File

@ -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;
}

View File

@ -163,6 +163,7 @@ protected:
nsCOMPtr<nsIAtom> mReadOnlyAtom;
nsCOMPtr<nsIAtom> mFirstTabAtom;
nsCOMPtr<nsIAtom> mFocusedAtom;
nsCOMPtr<nsIAtom> 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<nsIAtom> mValueAtom;
nsCOMPtr<nsIAtom> mModeAtom;
nsCOMPtr<nsIAtom> mClassAtom;
nsCOMPtr<nsIAtom> mSortDirectionAtom;
};