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

Allow choosing user not to integrate window controls to the top bar, hide them instead #35

Open
pvsomebody opened this issue Jul 27, 2015 · 2 comments · May be fixed by #70
Open

Allow choosing user not to integrate window controls to the top bar, hide them instead #35

pvsomebody opened this issue Jul 27, 2015 · 2 comments · May be fixed by #70

Comments

@pvsomebody
Copy link

I would like to please place a feature request to not integrate the buttons from the window decorations into the Gnome's top bar, while doing the wonderful stuff that PixelSaver currently does? :)

It looks somewhat out of place there and upsets my delicate balance of buttons on the top panes. Is there maybe a hack of some sort to do this in current version?

@marcohu
Copy link
Contributor

marcohu commented Oct 12, 2015

+1

An option to choose whether the buttons should be added to the top panel would be really nice.

@pvsomebody
Simply uncommenting the hooks for the buttons in extension.js seems to do the trick. You need to restart Gnome Shell afterwards of course.

function init(extensionMeta) {
    // Buttons.init(extensionMeta);
    Decoration.init(extensionMeta);
    AppMenu.init(extensionMeta);
}

function enable() {
    // Buttons.enable();
    Decoration.enable();
    AppMenu.enable();
}

function disable() {
    AppMenu.disable();
    Decoration.disable();
    // Buttons.disable();
}

@pvsomebody
Copy link
Author

Thanks for the hack, marcohu. I am going to try this after the F23
update, when compatibility on the other extensions breaks again.

@tallero tallero changed the title Feature request: allow choosing user not to integrate window controls to the top bar, hide them instead Allow choosing user not to integrate window controls to the top bar, hide them instead Jun 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment