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

Ability to hide status window #66

Open
guzzlefry opened this issue Sep 24, 2014 · 6 comments
Open

Ability to hide status window #66

guzzlefry opened this issue Sep 24, 2014 · 6 comments

Comments

@guzzlefry
Copy link

Add a configuration option to hide the status window from users.

I can probably wing this myself with some clues on where to look. I can't find the bit of code that creates the tab/window.

@megawac
Copy link
Owner

megawac commented Sep 24, 2014

Status window is created in the IRCClient UI adapter when a client connects. Why don't you want the status window to appear?

@guzzlefry
Copy link
Author

We've replaced a proprietary chat platform with an IRC-based one and would rather hide the status since it will probably confuse our users.

@megawac
Copy link
Owner

megawac commented Sep 24, 2014

Makes sense. I'll be around tonight - ping me here or on GeeksIRC if theres any gotchas you run into

@guzzlefry
Copy link
Author

Thanks, which channel would that be?

@megawac
Copy link
Owner

megawac commented Sep 24, 2014

Join #brouhaha

@megawac
Copy link
Owner

megawac commented Sep 24, 2014

Try something like this to close the Status window right after it opens

app.addEvent("login:once", function() {
    _.defer(function() {
         var statusWindow = app.getWindow(app.clients[0], qwebirc.lang.windowNames.status);
         statusWindow.close();
    });
});

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