Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Close buttons for some dialogs #13

Open
ghost opened this issue Sep 23, 2019 · 4 comments
Open

Need Close buttons for some dialogs #13

ghost opened this issue Sep 23, 2019 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 23, 2019

-Some dialogs would benefit from retaining the Close button. (In Linux Mint Cinnamon) set 'Windows XP Royale' theme; open Nemo, select 'Edit | Preferences', close dialog (client area has no Close button, so you go looking for Close button on dialog frame, but must resort to right-click titlebar and choose close). Find /home/username/.themes/Windows XP Royale/metacity-1/metacity-3.xml, and edit "<frame_geometry name="nobuttons" hide_buttons="true" parent="dialog">
</frame_geometry>" and change to hide_buttons="false. I like that this also brings back access to the upper-left window-menu (even though no icon or arrow appears).

@Elbullazul
Copy link
Member

Metacity themes are due for an upgrade. Unfortunately, I've been very busy since summer ended. I would like to rebase everything on a better-suited code base than legacy code ported to v3.

@feren do you have time to rework metacity themes based on latest Windows 10? both versions 2 and 3 must be changed, but they're very similar

@dominichayesferen
Copy link
Member

@Elbullazul Sorry but I probably won't have time to rework the Windows 10 Metacity Theme into an XP one, mainly because the awkwardness of making the buttons place right.

@ghost
Copy link
Author

ghost commented Sep 25, 2019

I circled back round to this one and was going to make sure I had described it right.
First, I only observed that the Nemo Preferences dialog was missing a close button in the client area, but there may be others. So a close button in the title area could be useful in those cases.
Second, it only appears to affect the Royale theme. The reason seems to be the presence of:
<frame_geometry name="nobuttons" hide_buttons="true" parent="dialog"> </frame_geometry>
However, the theme seems to rely on the presence of the tag, so the behavior apparently must be changed not by removing the tag but changing it as so:
<frame_geometry name="nobuttons" hide_buttons="false" parent="dialog"> </frame_geometry>

screenshots:
Screenshot from 2019-09-25 13-37-31
Screenshot from 2019-09-25 13-38-47

@ghost
Copy link
Author

ghost commented Sep 25, 2019

Now that I'm starting to figure out Pull Requests, I can create one for the change I did here (one-liner, one attribute-value really).
From the Git/GitHub side, I need to figure out whether I'd need to do this second PR from another new branch (I'm thinking Yes, to keep the issues' changes separate).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants