Skip to content
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.

Commit

Permalink
Fixes to metacity-theme-1 and 2 for Mate
Browse files Browse the repository at this point in the history
  • Loading branch information
smurphos committed Jul 6, 2018
1 parent 9875e59 commit 3dea3d5
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 10 deletions.
17 changes: 14 additions & 3 deletions files/Atlanta/metacity-1/metacity-theme-1.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,10 @@
</draw_ops>

<draw_ops name="outer_bevel">
<rectangle color="gtk:bg[NORMAL]"
x="1" y="1" width="width-2" height="height-2" filled="true"/>
<rectangle color="gtk:fg[NORMAL]"
x="0" y="0" width="width-1" height="height-1"/>
x="0" y="0" width="width-1" height="height-1"/>
<line color="gtk:light[NORMAL]"
x1="1" y1="1" x2="1" y2="height-2"/>
<line color="gtk:light[NORMAL]"
Expand All @@ -170,6 +172,15 @@
height="height-top_height-bottom_height+1"/>
</draw_ops>

<draw_ops name="maximised_fill">
<rectangle color="gtk:bg[NORMAL]"
x="0" y="0"
width="width"
height="height"
filled="true"/>
<include name="focus_outline"/>
</draw_ops>

<draw_ops name="focus_background">
<include name="outer_bevel"/>
<include name="focus_outline"/>
Expand Down Expand Up @@ -277,13 +288,13 @@
</frame_style>

<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
<piece position="entire_background" draw_ops="blank"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>

<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
<piece position="entire_background" draw_ops="focus_outline"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
Expand Down
15 changes: 13 additions & 2 deletions files/Bright/metacity-1/metacity-theme-2.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@
</draw_ops>

<draw_ops name="outer_bevel">
<rectangle color="gtk:bg[NORMAL]"
x="1" y="1" width="width-2" height="height-2" filled="true"/>
<rectangle color="gtk:fg[NORMAL]"
x="0" y="0" width="width-1" height="height-1"/>
<line color="gtk:light[NORMAL]"
Expand All @@ -371,6 +373,15 @@
height="height-top_height-bottom_height+1"/>
</draw_ops>

<draw_ops name="maximised_fill">
<rectangle color="gtk:bg[NORMAL]"
x="0" y="0"
width="width"
height="height"
filled="true"/>
<include name="focus_outline"/>
</draw_ops>

<draw_ops name="focus_background">
<include name="outer_bevel"/>
<include name="focus_outline"/>
Expand Down Expand Up @@ -473,13 +484,13 @@
</frame_style>

<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
<piece position="entire_background" draw_ops="blank"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button_normal"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>

<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
<piece position="entire_background" draw_ops="focus_outline"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button_normal"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
Expand Down
9 changes: 8 additions & 1 deletion files/Esco/metacity-1/metacity-theme-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,13 @@
</gradient>
</draw_ops>

<draw_ops name="gradient_background_unfocused">
<gradient type="vertical" x="0" y="0" width="width" height="top_height">
<color value="gtk:light[NORMAL]"/>
<color value="gtk:dark[NORMAL]"/>
</gradient>
</draw_ops>

<draw_ops name="outer_bevel_focused">
<gtk_box state="selected" shadow="out" x="2" y="2" width="width - 2"
height="height - 2"/>
Expand Down Expand Up @@ -900,7 +907,7 @@

<frame_style name="maximized_unfocused" geometry="normal_small_borders"
parent="normal_unfocused">
<piece position="entire_background" draw_ops="blank"/>
<piece position="entire_background" draw_ops="gradient_background_unfocused"/>

<piece position="title" draw_ops="title_maximized"/>

Expand Down
15 changes: 13 additions & 2 deletions files/Metabox/metacity-1/metacity-theme-1.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@
</draw_ops>

<draw_ops name="outer_bevel">
<rectangle color="gtk:bg[NORMAL]"
x="1" y="1" width="width-2" height="height-2" filled="true"/>
<rectangle color="#000000"
x="0" y="0" width="width-1" height="height-1"/>
<line color="gtk:light[NORMAL]"
Expand All @@ -311,6 +313,15 @@
width="width-left_width-right_width+1"
height="height-top_height-bottom_height+1"/>
</draw_ops>

<draw_ops name="maximised_fill">
<rectangle color="gtk:bg[NORMAL]"
x="0" y="0"
width="width"
height="height"
filled="true"/>
<include name="focus_outline"/>
</draw_ops>

<draw_ops name="focus_background">
<include name="outer_bevel"/>
Expand Down Expand Up @@ -405,13 +416,13 @@
</frame_style>

<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
<piece position="entire_background" draw_ops="blank"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button_unfocused"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>

<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
<piece position="entire_background" draw_ops="focus_outline"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
<button function="maximize" state="prelight" draw_ops="restore_button_prelight"/>
Expand Down
13 changes: 11 additions & 2 deletions files/Simple/metacity-1/metacity-theme-1.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,15 @@
height="height-top_height-bottom_height+1"/>
</draw_ops>

<draw_ops name="maximised_fill">
<rectangle color="gtk:bg[NORMAL]"
x="0" y="0"
width="width"
height="height"
filled="true"/>
<include name="focus_outline"/>
</draw_ops>

<draw_ops name="focus_background">
<include name="outer_bevel"/>
</draw_ops>
Expand Down Expand Up @@ -272,13 +281,13 @@
</frame_style>

<frame_style name="maximized_unfocused" geometry="normal_small_borders" parent="normal_unfocused">
<piece position="entire_background" draw_ops="blank"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>

<frame_style name="maximized_focused" geometry="normal_small_borders" parent="normal_focused">
<piece position="entire_background" draw_ops="focus_outline"/>
<piece position="entire_background" draw_ops="maximised_fill"/>
<button function="maximize" state="normal" draw_ops="restore_button"/>
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
</frame_style>
Expand Down

0 comments on commit 3dea3d5

Please sign in to comment.