After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 96229 - new buttons: shade, above, stick
new buttons: shade, above, stick
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: themes
unspecified
Other Linux
: Normal enhancement
: future
Assigned To: Metacity maintainers list
Metacity maintainers list
: 342080 (view as bug list)
Depends on:
Blocks: 102547
 
 
Reported: 2002-10-19 06:05 UTC by Alan Cramer
Modified: 2006-10-07 17:01 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Alan Cramer 2002-10-19 06:05:26 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.
Comment 1 Havoc Pennington 2002-10-20 07:37:15 UTC
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.
Comment 2 Heath Harrelson 2002-10-30 15:45:11 UTC
Batch adding GNOME2 keyword to Metacity bugs.  Sorry for the spam.
Comment 3 Heath Harrelson 2002-11-18 22:21:49 UTC
Havoc, is this NOTABUG?  Is it currently possible to do what Alan asks
(create buttons with arbitrary actions, in this case, shade the window)?
Comment 4 Havoc Pennington 2002-11-18 22:24:39 UTC
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.
Comment 5 dbrody 2003-03-05 07:11:58 UTC
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?
Comment 6 Havoc Pennington 2003-03-05 16:14:14 UTC
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.)
Comment 7 Thomas Thurman 2006-04-25 00:10:54 UTC
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.
Comment 8 Thomas Thurman 2006-04-30 20:08:08 UTC
Toggling-ness of buttons fixed in CVS.
Comment 9 Elijah Newren 2006-05-17 13:33:34 UTC
*** Bug 342080 has been marked as a duplicate of this bug. ***
Comment 10 Juan Márquez 2006-05-19 18:13:59 UTC
(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?
Comment 11 Thomas Thurman 2006-05-19 18:17:39 UTC
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.
Comment 12 Thomas Thurman 2006-10-07 17:01:50 UTC
Fixed in HEAD!