diff --git a/ChangeLog b/ChangeLog index aae7c1f93..6b2f15e01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2002-02-09 Havoc Pennington + + * src/theme.c (meta_theme_set_current): add a newline to an error + message + + * src/themes/Gorilla: add Gorilla theme by Jakub Steiner ported to + metacity by Kenneth Christiansen + 2002-02-09 Havoc Pennington * src/theme.c (meta_draw_op_draw_with_env): implement wacky "tile" diff --git a/src/theme.c b/src/theme.c index a28549268..5e9dd8909 100644 --- a/src/theme.c +++ b/src/theme.c @@ -3961,7 +3961,7 @@ meta_theme_set_current (const char *name, if (new_theme == NULL) { - meta_warning (_("Failed to load theme \"%s\": %s"), + meta_warning (_("Failed to load theme \"%s\": %s\n"), name, err->message); g_error_free (err); } diff --git a/src/themes/AgingGorilla/README b/src/themes/AgingGorilla/README new file mode 100644 index 000000000..c275e5eee --- /dev/null +++ b/src/themes/AgingGorilla/README @@ -0,0 +1,7 @@ +* Gorilla * + +A metacity theme to accompany Scalable and Unscalable Gorilla nautilus +themes. + +(c) 2001 Jakub 'jimmac' Steiner +Ported by Kenneth Christiansen diff --git a/src/themes/AgingGorilla/active-button.png b/src/themes/AgingGorilla/active-button.png new file mode 100644 index 000000000..a299ddb23 Binary files /dev/null and b/src/themes/AgingGorilla/active-button.png differ diff --git a/src/themes/AgingGorilla/active-close-button.png b/src/themes/AgingGorilla/active-close-button.png new file mode 100644 index 000000000..b77f77ae1 Binary files /dev/null and b/src/themes/AgingGorilla/active-close-button.png differ diff --git a/src/themes/AgingGorilla/active-maximize-button.png b/src/themes/AgingGorilla/active-maximize-button.png new file mode 100644 index 000000000..02ccc37a2 Binary files /dev/null and b/src/themes/AgingGorilla/active-maximize-button.png differ diff --git a/src/themes/AgingGorilla/active-menu-button.png b/src/themes/AgingGorilla/active-menu-button.png new file mode 100644 index 000000000..aa12b497a Binary files /dev/null and b/src/themes/AgingGorilla/active-menu-button.png differ diff --git a/src/themes/AgingGorilla/active-minimize-button.png b/src/themes/AgingGorilla/active-minimize-button.png new file mode 100644 index 000000000..292769297 Binary files /dev/null and b/src/themes/AgingGorilla/active-minimize-button.png differ diff --git a/src/themes/AgingGorilla/gorilla.xcf.bz2 b/src/themes/AgingGorilla/gorilla.xcf.bz2 new file mode 100644 index 000000000..89b85651c Binary files /dev/null and b/src/themes/AgingGorilla/gorilla.xcf.bz2 differ diff --git a/src/themes/AgingGorilla/inactive-close-button.png b/src/themes/AgingGorilla/inactive-close-button.png new file mode 100644 index 000000000..863599215 Binary files /dev/null and b/src/themes/AgingGorilla/inactive-close-button.png differ diff --git a/src/themes/AgingGorilla/inactive-maximize-button.png b/src/themes/AgingGorilla/inactive-maximize-button.png new file mode 100644 index 000000000..4e8929999 Binary files /dev/null and b/src/themes/AgingGorilla/inactive-maximize-button.png differ diff --git a/src/themes/AgingGorilla/inactive-menu-button.png b/src/themes/AgingGorilla/inactive-menu-button.png new file mode 100644 index 000000000..99476b747 Binary files /dev/null and b/src/themes/AgingGorilla/inactive-menu-button.png differ diff --git a/src/themes/AgingGorilla/inactive-minimize-button.png b/src/themes/AgingGorilla/inactive-minimize-button.png new file mode 100644 index 000000000..125aa6f7d Binary files /dev/null and b/src/themes/AgingGorilla/inactive-minimize-button.png differ diff --git a/src/themes/AgingGorilla/metacity-theme-1.xml b/src/themes/AgingGorilla/metacity-theme-1.xml new file mode 100644 index 000000000..56c8d3266 --- /dev/null +++ b/src/themes/AgingGorilla/metacity-theme-1.xml @@ -0,0 +1,293 @@ + + + + Gorilla + Kenneth Christiansen <kenneth@gnu.org> Anders Carlsom <andersca@gnu.org> + Â Ximian, Inc, 2001 + February 8, 2002 + A port of the Gorilla theme by Jacub Steiner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + </draw_ops> + </piece> + + <piece position="titlebar"> + + <draw_ops> + <rectangle color="black" x="6" y="6" width="width - 12" height="16" filled="true"/> + <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="12"/> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + +</frame_style> + + +<!-- Active (focused) shaded style --> +<frame_style name="normal_shaded" geometry="normal" parent="normal"> + +</frame_style> + +<!-- Active (focused) style --> +<frame_style name="focused" geometry="normal"> + <piece position="entire_background"> + <draw_ops> + <rectangle color="black" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/> + <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/> + <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/> + <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/> + <rectangle color="gray" x="6" y="6" width="width - 12" height="height - 12" filled="true"/> + + <line color="gray" x1="0" y1="0" x2="1" y2="1"/> + <line color="gray" x1="0" y1="height - 1" x2="1" y2="height"/> + <line color="gray" x1="width - 1" y1="0" x2="width" y2="1"/> + <line color="gray" x1="width" y1="height" x2="width - 1" y2="height - 1"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="white" x="IconTitleSpacing" y="((height - title_height - 3) / 2) `max` 0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + <rectangle color="black" x="6" y="6" width="width - 12" height="16" filled="true"/> + <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="12"/> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + +</frame_style> + +<!-- Active (focused) shaded style --> +<frame_style name="focused_shaded" geometry="normal" parent="focused"> + +</frame_style> + +<frame_style_set name="normal"> +<frame focus="yes" state="shaded" style="focused_shaded"/> +<frame focus="yes" state="normal" resize="both" style="focused"/> +<frame focus="yes" state="maximized" style="focused"/> +<frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> +<frame focus="no" state="normal" resize="both" style="normal"/> +<frame focus="no" state="shaded" style="normal_shaded"/> +<frame focus="no" state="maximized" style="normal"/> +<frame focus="no" state="maximized_and_shaded" style="normal_shaded"/> +</frame_style_set> + +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="normal"/> +<window type="modal_dialog" style_set="normal"/> +<window type="menu" style_set="normal"/> +<window type="utility" style_set="normal"/> + +<menu_icon function="maximize" state="normal"> + <draw_ops> + <image filename="active-maximize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + + +<menu_icon function="close" state="normal"> + <draw_ops> + <image filename="active-close-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="minimize" state="normal"> + <draw_ops> + <image filename="active-minimize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="unmaximize" state="normal"> + <draw_ops> + </draw_ops> +</menu_icon> + +</metacity_theme> diff --git a/src/themes/Gorilla/README b/src/themes/Gorilla/README new file mode 100644 index 000000000..c275e5eee --- /dev/null +++ b/src/themes/Gorilla/README @@ -0,0 +1,7 @@ +* Gorilla * + +A metacity theme to accompany Scalable and Unscalable Gorilla nautilus +themes. + +(c) 2001 Jakub 'jimmac' Steiner +Ported by Kenneth Christiansen diff --git a/src/themes/Gorilla/active-button.png b/src/themes/Gorilla/active-button.png new file mode 100644 index 000000000..a299ddb23 Binary files /dev/null and b/src/themes/Gorilla/active-button.png differ diff --git a/src/themes/Gorilla/active-close-button.png b/src/themes/Gorilla/active-close-button.png new file mode 100644 index 000000000..b77f77ae1 Binary files /dev/null and b/src/themes/Gorilla/active-close-button.png differ diff --git a/src/themes/Gorilla/active-maximize-button.png b/src/themes/Gorilla/active-maximize-button.png new file mode 100644 index 000000000..02ccc37a2 Binary files /dev/null and b/src/themes/Gorilla/active-maximize-button.png differ diff --git a/src/themes/Gorilla/active-menu-button.png b/src/themes/Gorilla/active-menu-button.png new file mode 100644 index 000000000..aa12b497a Binary files /dev/null and b/src/themes/Gorilla/active-menu-button.png differ diff --git a/src/themes/Gorilla/active-minimize-button.png b/src/themes/Gorilla/active-minimize-button.png new file mode 100644 index 000000000..292769297 Binary files /dev/null and b/src/themes/Gorilla/active-minimize-button.png differ diff --git a/src/themes/Gorilla/gorilla.xcf.bz2 b/src/themes/Gorilla/gorilla.xcf.bz2 new file mode 100644 index 000000000..89b85651c Binary files /dev/null and b/src/themes/Gorilla/gorilla.xcf.bz2 differ diff --git a/src/themes/Gorilla/inactive-close-button.png b/src/themes/Gorilla/inactive-close-button.png new file mode 100644 index 000000000..863599215 Binary files /dev/null and b/src/themes/Gorilla/inactive-close-button.png differ diff --git a/src/themes/Gorilla/inactive-maximize-button.png b/src/themes/Gorilla/inactive-maximize-button.png new file mode 100644 index 000000000..4e8929999 Binary files /dev/null and b/src/themes/Gorilla/inactive-maximize-button.png differ diff --git a/src/themes/Gorilla/inactive-menu-button.png b/src/themes/Gorilla/inactive-menu-button.png new file mode 100644 index 000000000..99476b747 Binary files /dev/null and b/src/themes/Gorilla/inactive-menu-button.png differ diff --git a/src/themes/Gorilla/inactive-minimize-button.png b/src/themes/Gorilla/inactive-minimize-button.png new file mode 100644 index 000000000..125aa6f7d Binary files /dev/null and b/src/themes/Gorilla/inactive-minimize-button.png differ diff --git a/src/themes/Gorilla/metacity-theme-1.xml b/src/themes/Gorilla/metacity-theme-1.xml new file mode 100644 index 000000000..56c8d3266 --- /dev/null +++ b/src/themes/Gorilla/metacity-theme-1.xml @@ -0,0 +1,293 @@ +<?xml version="1.0"?> +<metacity_theme> +<info> + <name>Gorilla</name> + <author>Kenneth Christiansen <kenneth@gnu.org> Anders Carlsom <andersca@gnu.org></author> + <copyright>Â Ximian, Inc, 2001</copyright> + <date>February 8, 2002</date> + <description>A port of the Gorilla theme by Jacub Steiner</description> +</info> + +<!-- define constants --> +<constant name="IconTitleSpacing" value="2"/> <!-- Space between menu button and title --> +<constant name="ButtonWidth" value="18"/> <!-- Button width --> + +<frame_geometry name="normal"> + <distance name="left_width" value="6"/> + <distance name="right_width" value="6"/> + <distance name="bottom_height" value="6"/> + <distance name="left_titlebar_edge" value="8"/> + <distance name="right_titlebar_edge" value="8"/> + <distance name="button_width" value="18"/> + <distance name="button_height" value="18"/> + <distance name="title_vertical_pad" value="0"/> + <border name="title_border" left="0" right="0" top="4" bottom="0"/> + <border name="button_border" left="0" right="0" top="8" bottom="0"/> +</frame_geometry> + + +<!-- Buttons --> + +<draw_ops name="active_button"> + <image filename="active-button.png" x="0" y="0" width="object_width" height="object_height"/> +</draw_ops> + +<draw_ops name="active_button_pressed"> + <image filename="active-button.png" x="0" y="0" width="object_width" height="object_height"/> +</draw_ops> + +<draw_ops name="inactive_button"> + <image filename="active-button.png" x="0" y="0" width="object_width" height="object_height"/> +</draw_ops> + +<draw_ops name="inactive_button_pressed"> + <image filename="active-button.png" x="0" y="0" width="object_width" height="object_height"/> +</draw_ops> + +<draw_ops name="title_tile"> + <line color="#494d59" x1="0" y1="0" x2="width" y2="0"/> + <line color="#515961" x1="0" y1="1" x2="width" y2="1"/> +</draw_ops> + +<!-- Inactive style --> +<frame_style name="normal" geometry="normal"> + <piece position="entire_background"> + <draw_ops> + <rectangle color="black" x="1" y="1" width="width - 2" height="height - 2" filled="true"/> + <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/> + <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/> + <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/> + <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/> + <rectangle color="gray" x="6" y="6" width="width - 12" height="height - 12" filled="true"/> + + <line color="gray" x1="1" y1="1" x2="2" y2="2"/> + <line color="gray" x1="1" y1="height - 2" x2="1" y2="height"/> + <line color="gray" x1="width - 2" y1="1" x2="width - 1" y2="2"/> + <line color="gray" x1="width - 1" y1="height - 1" x2="width - 2" y2="height - 2"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="gray" x="IconTitleSpacing" y="((height - title_height - 3) / 2) `max` 0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + + <draw_ops> + <rectangle color="black" x="6" y="6" width="width - 12" height="16" filled="true"/> + <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="12"/> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="inactive_button"/> + <image filename="inactive-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <include name="inactive_button_pressed"/> + <image filename="inactive-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + +</frame_style> + + +<!-- Active (focused) shaded style --> +<frame_style name="normal_shaded" geometry="normal" parent="normal"> + +</frame_style> + +<!-- Active (focused) style --> +<frame_style name="focused" geometry="normal"> + <piece position="entire_background"> + <draw_ops> + <rectangle color="black" x="0" y="0" width="width" height="height" filled="true"/> + <rectangle color="dark gray" x="3" y="3" width="width - 8" height="height - 7" filled="false"/> + <rectangle color="light gray" x="4" y="4" width="width - 9" height="height - 8" filled="false"/> + <rectangle color="light gray" x="5" y="5" width="width - 11" height="height - 10" filled="false"/> + <rectangle color="white" x="6" y="6" width="width - 13" height="height - 12" filled="false"/> + <rectangle color="gray" x="6" y="6" width="width - 12" height="height - 12" filled="true"/> + + <line color="gray" x1="0" y1="0" x2="1" y2="1"/> + <line color="gray" x1="0" y1="height - 1" x2="1" y2="height"/> + <line color="gray" x1="width - 1" y1="0" x2="width" y2="1"/> + <line color="gray" x1="width" y1="height" x2="width - 1" y2="height - 1"/> + </draw_ops> + </piece> + + <piece position="title"> + <draw_ops> + <title color="white" x="IconTitleSpacing" y="((height - title_height - 3) / 2) `max` 0"/> + </draw_ops> + </piece> + + <piece position="titlebar"> + <draw_ops> + <rectangle color="black" x="6" y="6" width="width - 12" height="16" filled="true"/> + <tile name="title_tile" tile_width="width" tile_height="2" x="8" y="8" width="width - 16" height="12"/> + </draw_ops> + </piece> + + <button function="close" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="close" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-close-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="minimize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-minimize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="maximize" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-maximize-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="normal"> + <draw_ops> + <include name="active_button"/> + <image filename="active-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + + <button function="menu" state="pressed"> + <draw_ops> + <include name="active_button_pressed"/> + <image filename="active-menu-button.png" x="4.5" y="3.5" width="object_width" height="object_height"/> + </draw_ops> + </button> + +</frame_style> + +<!-- Active (focused) shaded style --> +<frame_style name="focused_shaded" geometry="normal" parent="focused"> + +</frame_style> + +<frame_style_set name="normal"> +<frame focus="yes" state="shaded" style="focused_shaded"/> +<frame focus="yes" state="normal" resize="both" style="focused"/> +<frame focus="yes" state="maximized" style="focused"/> +<frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/> +<frame focus="no" state="normal" resize="both" style="normal"/> +<frame focus="no" state="shaded" style="normal_shaded"/> +<frame focus="no" state="maximized" style="normal"/> +<frame focus="no" state="maximized_and_shaded" style="normal_shaded"/> +</frame_style_set> + +<window type="normal" style_set="normal"/> +<window type="dialog" style_set="normal"/> +<window type="modal_dialog" style_set="normal"/> +<window type="menu" style_set="normal"/> +<window type="utility" style_set="normal"/> + +<menu_icon function="maximize" state="normal"> + <draw_ops> + <image filename="active-maximize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + + +<menu_icon function="close" state="normal"> + <draw_ops> + <image filename="active-close-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="minimize" state="normal"> + <draw_ops> + <image filename="active-minimize-button.png" + x="(width - object_width) / 2" + y="(height - object_height) / 2" + width="object_width" height="object_height"/> + </draw_ops> +</menu_icon> + +<menu_icon function="unmaximize" state="normal"> + <draw_ops> + </draw_ops> +</menu_icon> + +</metacity_theme> diff --git a/src/themes/Makefile.am b/src/themes/Makefile.am index 9edfd4b54..302b3f39c 100644 --- a/src/themes/Makefile.am +++ b/src/themes/Makefile.am @@ -1,6 +1,7 @@ THEMES= \ Atlanta \ - Crux + Crux \ + Gorilla THEME_DIR=$(pkgdatadir)/themes