Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2018-08-28 | Allow a theme to specify ellipsize width for a title | Owen W. Taylor | 1 | -0/+4 | |
It's nice to indicate when a title is truncated with an ellipsis. Because themes may draw a title multiple times to draw a shadow, or may include the window icon within the title area, we can't determine the proper ellipsization width automatically, so add an optional attribute to the <title/> element "ellipsize_width" which, if set, is the width to ellipsize at. This is only enabled if a theme version of 3.1 is required. When it's not set, we keep the old behavior of just letting the title be clipped with a hard edge. https://bugzilla.gnome.org/show_bug.cgi?id=591842 NOTE: Patch copied from mutter and adapted for metacity. | |||||
2018-08-28 | Add frame_x_center/frame_y_center variables for themes | Owen W. Taylor | 1 | -0/+10 | |
Sometimes you want to position something (usually the title) to be centered with respect to the entire frame instead of centered with respect to the individual piece currently being drawn. This patch adds frame_x_center and frame_y_center variables that represent the X/Y centers of the frame in the coordinate system of the piece being drawn. The theme version is bumped from 3.0 to 3.1 (3.0 is just the new version system, 3.1 will have all the features we add for Mutter-2.28.) position expressions https://bugzilla.gnome.org/show_bug.cgi?id=591842 NOTE: Patch is copied from mutter and is adapted for metacity. | |||||
2018-08-28 | metacity-theme-3.xml: Add a flexible version mechanism | Owen W. Taylor | 1 | -0/+22 | |
The current mechanism of metacity-theme-1.xml and metacity-theme-2.xml is not flexible for allowing small-scale additions. With this patch we bump the major version version once more to metacity-theme-3.xml and add a single feature: Any element in the DTD can have an attribute: version="[<|<=|=>|>] MAJOR.MINOR" And it will be ignored unless the predicate is met. (< and > should be to be entity escaped as < and >) This allows having alternate sections of the theme file for older and newer version. * Required GLib version is bumped to 2.14 so we can parse versions with a regular expression. * We switch internal version numbers to be "1000 * major + minor" * We keep a stack of the maximum required version for the current portion the XML tree so that the "cannot use versions you don't require" stricture of the old code can be made local to a subpart of the tree. * A version on the top metacity_theme element causes the entire file to be ignored; this allows having one metacity-theme-3.xml for version 3.2 and newer (say) and a metacity-1.xml for everything old. Actual new features will be added starting with 3.1 - 3.0 is just the version="" feature. http://bugzilla.gnome.org/show_bug.cgi?id=592503 NOTE: Patch is copied from mutter and adapted for metacity. origin commit: https://gitlab.gnome.org/GNOME/metacity/commit/114a2048 | |||||
2014-02-14 | Update marco.1 | hekel | 1 | -58/+66 | |
2014-02-14 | Update marco-window-demo.1 | hekel | 1 | -16/+19 | |
2014-02-14 | Update marco-theme-viewer.1 | hekel | 1 | -35/+45 | |
2014-02-14 | Update marco-message.1 | hekel | 1 | -54/+37 | |
2014-01-21 | Fix hyphen used as minus sign in man page | Mike Gabriel | 1 | -1/+1 | |
2013-11-08 | Remove unneeded files | infirit | 9 | -12371/+0 | |
2013-08-01 | Use yelp-tools instead of mate-doc-utils | infirit | 2 | -10/+6 | |
2012-01-30 | removing autogenerated files | Perberos | 3 | -2079/+0 | |
2011-12-01 | moving from https://github.com/perberos/mate-desktop-environment | Perberos | 25 | -0/+16029 | |