Metacity - modal dialogs use modal geometry but show butons

master
smurphos 5 years ago
parent 1fb04405a0
commit 41477e4d20
  1. 6
      common/metacity-1/metacity-theme-2.xml
  2. 6
      common/metacity-1/metacity-theme-3.xml

@ -86,7 +86,7 @@
<border name="title_border" left="10" right="10" top="0" bottom="0" />
</frame_geometry>
<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small">
<frame_geometry name="modal" title_scale="small" hide_buttons="false" rounded_top_left="1" rounded_top_right="1" parent="small">
<distance name="title_vertical_pad" value="5"/>
</frame_geometry>
@ -497,7 +497,7 @@
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="modal_dialog_focused" geometry="normal">
<frame_style name="modal_dialog_focused" geometry="modal">
<piece position="entire_background" draw_ops="entire_background_focused" />
<piece position="titlebar" draw_ops="titlebar_focused" />
<piece position="title" draw_ops="title_focused" />
@ -525,7 +525,7 @@
<button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="modal_dialog_unfocused" geometry="normal">
<frame_style name="modal_dialog_unfocused" geometry="modal">
<piece position="entire_background" draw_ops="entire_background_unfocused" />
<piece position="titlebar" draw_ops="titlebar_focused" />
<piece position="title" draw_ops="title_unfocused" />

@ -104,7 +104,7 @@
<distance name="button_height" value="0"/>
</frame_geometry>
<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small">
<frame_geometry name="modal" title_scale="small" hide_buttons="false" rounded_top_left="1" rounded_top_right="1" parent="small">
<distance name="title_vertical_pad" value="5"/>
</frame_geometry>
@ -531,7 +531,7 @@
<button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="modal_dialog_focused" geometry="normal">
<frame_style name="modal_dialog_focused" geometry="modal">
<piece position="entire_background" draw_ops="entire_background_focused" />
<piece position="titlebar" draw_ops="titlebar_focused" />
<piece position="title" draw_ops="title_focused" />
@ -559,7 +559,7 @@
<button function="unstick" state="normal"><draw_ops></draw_ops></button><button function="unstick" state="pressed"><draw_ops></draw_ops></button>
</frame_style>
<frame_style name="modal_dialog_unfocused" geometry="normal">
<frame_style name="modal_dialog_unfocused" geometry="modal">
<piece position="entire_background" draw_ops="entire_background_unfocused" />
<piece position="titlebar" draw_ops="titlebar_focused" />
<piece position="title" draw_ops="title_unfocused" />

Loading…
Cancel
Save