diff options
author | Lapo Calamandrei <calamandrei@gmail.com> | 2014-09-03 22:55:09 +0200 |
---|---|---|
committer | Lapo Calamandrei <calamandrei@gmail.com> | 2014-09-03 22:55:09 +0200 |
commit | 73ca2a2898033ddfaa4fb0d4b8513c79c4be1000 (patch) | |
tree | 330ed3d8a9ddcb08e68f35a0a1d625da2868787e | |
parent | 9aef173cb494bb785c4b0572c915a2a085653968 (diff) | |
download | gnome-themes-standard-73ca2a2898033ddfaa4fb0d4b8513c79c4be1000.tar.gz |
HELL: adapt mutter theme to latest Adwaita changes.
-rw-r--r-- | themes/Adwaita/metacity-1/metacity-theme-3.xml | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/themes/Adwaita/metacity-1/metacity-theme-3.xml b/themes/Adwaita/metacity-1/metacity-theme-3.xml index 80e5d32b..fe1a828e 100644 --- a/themes/Adwaita/metacity-1/metacity-theme-3.xml +++ b/themes/Adwaita/metacity-1/metacity-theme-3.xml @@ -4,7 +4,7 @@ <name>Adwaita</name> <author>GNOME Art Team <art.gnome.org></author> <copyright>Â Intel, Â Red Hat, Lapo Calamandrei</copyright> - <date>2012</date> + <date>2014</date> <description>Default GNOME 3 window theme</description> </info> @@ -181,20 +181,12 @@ <draw_ops name="hilight"> <line x1="0" y1="1" x2="width-1" y2="1" color="C_titlebar_focused_hilight" /> - <gradient type="vertical" x="0" y="1" width="1" height="height-4"> - <color value="C_titlebar_focused_hilight" /> - <color value="blend/gtk:bg[NORMAL]/#000000/0.03" /> - </gradient> </draw_ops> <draw_ops name="rounded_hilight"> <line x1="5" y1="1" x2="width-6" y2="1" color="C_titlebar_focused_hilight" /> - <arc color="C_titlebar_focused_hilight" x="1" y="1" width="7" height="7" start_angle="270" extent_angle="90" /> + <arc color="C_titlebar_focused_hilight" x="0" y="1" width="8" height="7" start_angle="270" extent_angle="90" /> <arc color="C_titlebar_focused_hilight" x="width-10" y="1" width="9" height="7" start_angle="0" extent_angle="90" /> - <gradient type="vertical" x="1" y="5" width="1" height="height-9"> - <color value="C_titlebar_focused_hilight" /> - <color value="blend/gtk:bg[NORMAL]/#000000/0.03" /> - </gradient> </draw_ops> <draw_ops name="titlebar_focused"> @@ -212,6 +204,16 @@ <include name="rounded_hilight" /> </draw_ops> +<draw_ops name="rounded_titlebar_unfocused"> + <include name="titlebar_fill_unfocused" /> + <include name="rounded_hilight" /> +</draw_ops> + +<draw_ops name="titlebar_unfocused"> + <include name="titlebar_fill_unfocused" /> + <include name="hilight" /> +</draw_ops> + <draw_ops name="border_focused"> <rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" /> </draw_ops> @@ -910,7 +912,7 @@ <frame_style name="normal_unfocused" geometry="normal_unfocused"> <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="titlebar" draw_ops="rounded_titlebar_unfocused" /> <piece position="title" draw_ops="title_unfocused" /> <piece position="overlay" draw_ops="rounded_border_unfocused" /> <button function="close" state="normal" draw_ops="close_unfocused"/> @@ -946,7 +948,7 @@ <frame_style name="normal_max_focused" geometry="max"> <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> <piece position="title" draw_ops="title_focused" /> <button function="close" state="normal" draw_ops="close_focused" /> <button function="close" state="pressed" draw_ops="close_focused_pressed" /> @@ -985,7 +987,7 @@ <frame_style name="normal_max_unfocused" geometry="max"> <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_unfocused" /> <piece position="title" draw_ops="title_unfocused" /> <button function="close" state="normal" draw_ops="close_unfocused"/> <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/> @@ -1020,7 +1022,7 @@ <frame_style name="normal_max_shaded_focused" geometry="max"> <piece position="entire_background" draw_ops="entire_background_focused" /> - <piece position="titlebar" draw_ops="titlebar_fill_focused" /> + <piece position="titlebar" draw_ops="titlebar_focused" /> <piece position="title" draw_ops="title_focused" /> <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_focused" /></draw_ops></piece> <button function="close" state="normal" draw_ops="close_focused" /> @@ -1060,7 +1062,7 @@ <frame_style name="normal_max_shaded_unfocused" geometry="max"> <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_unfocused" /> <piece position="title" draw_ops="title_unfocused" /> <piece position="overlay"><draw_ops><line x1="0" y1="height-1" x2="width" y2="height-1" color="C_border_unfocused" /></draw_ops></piece> <button function="close" state="normal" draw_ops="close_unfocused"/> @@ -1136,7 +1138,7 @@ <frame_style name="dialog_unfocused" geometry="nobuttons"> <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_unfocused" /> <piece position="title" draw_ops="title_unfocused" /> <piece position="overlay" draw_ops="rounded_border_unfocused" /> <button function="close" state="normal" draw_ops="close_unfocused"/> @@ -1209,7 +1211,7 @@ <frame_style name="modal_dialog_unfocused" geometry="modal"> <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_unfocused" /> <piece position="title" draw_ops="title_unfocused" /> <piece position="overlay" draw_ops="border_unfocused" /> <button function="close" state="normal" draw_ops="close_unfocused"/> @@ -1285,7 +1287,7 @@ <frame_style name="utility_unfocused" geometry="small_unfocused"> <piece position="entire_background" draw_ops="entire_background_unfocused" /> - <piece position="titlebar" draw_ops="titlebar_fill_unfocused" /> + <piece position="titlebar" draw_ops="titlebar_unfocused" /> <piece position="title" draw_ops="title_unfocused" /> <piece position="overlay" draw_ops="border_unfocused" /> <button function="close" state="normal" draw_ops="close_unfocused"/> |