GNOME Bugzilla – Bug 96229
new buttons: shade, above, stick
Last modified: 2006-10-07 17:01:50 UTC
I have looked everywhere I could for details on how to put a "Shade" button on a theme, but it doesn't seem as though you can. Even thougb you can double click the titlebar to give the effect, you should be able to put in a shade button if you want to when you are writing a theme.
Note that buttons aren't a function of the theme, they're a user preference (at least if you have latest CVS). Users can put the buttons in any order and have any subset of the available buttons, and a theme needs to be able to handle any of that.
Batch adding GNOME2 keyword to Metacity bugs. Sorry for the spam.
Havoc, is this NOTABUG? Is it currently possible to do what Alan asks (create buttons with arbitrary actions, in this case, shade the window)?
Shade buttons aren't currently possible, no. It would be done by adding it to the list with minimize/maximize/etc. in the button order setting. The problem is that most themes won't be able to draw a shade button.
Any chance of getting a patch to add this? The longer that the button dosnt get added the more themes that wont support it. After all, if the theme dosnt draw the button then the button isnt drawn end-of-story. right?
All the bug #102547 dependencies should really be fixed in a single batch so the theme format only breaks once. (And when adding a shade button, some other buttons could also be added, such as sticky and ontop.)
The version in the metacity-theme-2 branch now supports shade, stick and above buttons. The only problem with it I know so far is that the buttons don't change to different symbols when you press them (so e.g. "shade" and "unshade" look the same). That will be fixed before I'm done with this branch.
Toggling-ness of buttons fixed in CVS.
*** Bug 342080 has been marked as a duplicate of this bug. ***
(In reply to comment #7) > The version in the metacity-theme-2 branch now supports shade, stick and above > buttons. The only problem with it I know so far is that the buttons don't > change to different symbols when you press them (so e.g. "shade" and "unshade" > look the same). That will be fixed before I'm done with this branch. > Is that a fork of metacity, or a development version (in cvs, or something like that)? Where can I get it?
It's a development version in CVS. The tag is "metacity-theme-2". It's not really ready for prime-time yet, and I'm still working on it. But feel free to check it out and play with it a bit.
Fixed in HEAD!