diff options
author | Andrea Del Signore <sejerpz@tin.it> | 2008-02-29 20:41:07 +0000 |
---|---|---|
committer | Thomas James Alexander Thurman <tthurman@src.gnome.org> | 2008-02-29 20:41:07 +0000 |
commit | e021e06178627cb2cb05c8937c14f69b6e1fa614 (patch) | |
tree | 461e7490491b2628efb84af068b660aadbaa008f /src/include | |
parent | 8c6f3853b0883b0a3a907eed7d545fcf8b015887 (diff) | |
download | metacity-e021e06178627cb2cb05c8937c14f69b6e1fa614.tar.gz |
Add support for "spacer" as a button type which adds some empty space.
2008-02-29 Andrea Del Signore <sejerpz@tin.it>
Add support for "spacer" as a button type which adds some
empty space. Closes #509165.
* src/ui/theme.c (meta_frame_layout_calc_geometry),
src/include/common.h (MetaButtonLayout),
src/core/prefs.c (update_button_layout, button_layout_equal),
src/metacity.schemas.in: add spacer support
svn path=/trunk/; revision=3615
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/common.h b/src/include/common.h index 8bdce9d3..41ec797f 100644 --- a/src/include/common.h +++ b/src/include/common.h @@ -263,9 +263,11 @@ struct _MetaButtonLayout { /* buttons in the group on the left side */ MetaButtonFunction left_buttons[MAX_BUTTONS_PER_CORNER]; - + gboolean left_buttons_has_spacer[MAX_BUTTONS_PER_CORNER]; + /* buttons in the group on the right side */ MetaButtonFunction right_buttons[MAX_BUTTONS_PER_CORNER]; + gboolean right_buttons_has_spacer[MAX_BUTTONS_PER_CORNER]; }; /* should investigate changing these to whatever most apps use */ |