Bug 408578 - "gtk: combobox pushed state" (Don't forget editable menulists) [p=frnchfrgg-mozbugs@altern.org (RIVAUD Julien [_FrnchFrgg_]) r=Ventron sr=roc a1.9=schrep]

This commit is contained in:
reed@reedloden.com 2008-01-26 21:11:15 -08:00
parent cdaf19cd61
commit 923e735698
2 changed files with 4 additions and 2 deletions

View File

@ -409,7 +409,8 @@
<html:input class="menulist-editable-input" flex="1" anonid="input" allowevents="true"
xbl:inherits="value=label,value,disabled,tabindex,readonly"/>
</xul:hbox>
<xul:dropmarker class="menulist-dropmarker" type="menu"/>
<xul:dropmarker class="menulist-dropmarker" type="menu"
xbl:inherits="open"/>
<children includes="menupopup"/>
</content>

View File

@ -330,7 +330,8 @@ nsNativeThemeGTK::GetGtkWidgetAndState(PRUint8 aWidgetType, nsIFrame* aFrame,
aWidgetType == NS_THEME_TOOLBAR_BUTTON ||
aWidgetType == NS_THEME_TOOLBAR_DUAL_BUTTON ||
aWidgetType == NS_THEME_TOOLBAR_BUTTON_DROPDOWN ||
aWidgetType == NS_THEME_DROPDOWN) {
aWidgetType == NS_THEME_DROPDOWN ||
aWidgetType == NS_THEME_DROPDOWN_BUTTON) {
if (aWidgetType == NS_THEME_TOOLBAR_BUTTON_DROPDOWN)
aFrame = aFrame->GetParent();