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
Родитель cdaf19cd61
Коммит 923e735698
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

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

Просмотреть файл

@ -330,7 +330,8 @@ nsNativeThemeGTK::GetGtkWidgetAndState(PRUint8 aWidgetType, nsIFrame* aFrame,
aWidgetType == NS_THEME_TOOLBAR_BUTTON || aWidgetType == NS_THEME_TOOLBAR_BUTTON ||
aWidgetType == NS_THEME_TOOLBAR_DUAL_BUTTON || aWidgetType == NS_THEME_TOOLBAR_DUAL_BUTTON ||
aWidgetType == NS_THEME_TOOLBAR_BUTTON_DROPDOWN || 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) if (aWidgetType == NS_THEME_TOOLBAR_BUTTON_DROPDOWN)
aFrame = aFrame->GetParent(); aFrame = aFrame->GetParent();