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

osx icon badge support - setBadgeLabel #1709

Merged
merged 1 commit into from
Mar 21, 2014
Merged

Conversation

falsecz
Copy link
Contributor

@falsecz falsecz commented Mar 20, 2014

osx is supported only, I'm not sure is there way to implement on other platforms

var gui = require('nw.gui'); 
var win = gui.Window.get();
win.setBadgeLabel("3");

image

@tommoor
Copy link

tommoor commented Mar 20, 2014

nice! such a small amount of code too

rogerwang added a commit that referenced this pull request Mar 21, 2014
osx icon badge support - setBadgeLabel
@rogerwang rogerwang merged commit 706e2ee into nwjs:master Mar 21, 2014
@rogerwang
Copy link
Member

Thanks. Please create another PR to add yourself to AUTHORS.

@falsecz falsecz deleted the badge branch March 21, 2014 12:54
@bmathews bmathews mentioned this pull request Mar 24, 2014
@hachre
Copy link

hachre commented Apr 28, 2014

thanks a lot guys :)

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

Successfully merging this pull request may close these issues.

4 participants