зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
cdaf19cd61
Коммит
923e735698
|
@ -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();
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче