Skip to content

Support for application icons? #5

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

Open
UNIVAC-Colonel-Panic opened this issue Nov 11, 2013 · 3 comments
Open

Support for application icons? #5

UNIVAC-Colonel-Panic opened this issue Nov 11, 2013 · 3 comments
Assignees

Comments

@UNIVAC-Colonel-Panic
Copy link

Hi,

Reading the documentation for gntp-send it appears the [icon] argument is only for the notification and it isn't possible to specify a separate icon for the application. Do I have this right? If so, can you add support for a separate application icon?

The purpose is to automate as much as possible the registration of app and notification icons with a GNTP server from local install files.

@psinnott
Copy link
Owner

Hi,

Only the high level functions are mentioned in the wiki but you should be able to do what you want using the lower level functions.

int growl_tcp_register( const char _const server , const char *const appname , const char *_const notifications , const int notifications_count , const char const password, const char const icon );

int growl_tcp_notify( const char const server,const char *const appname,const char *const notify,const char *const title, const char *const message , const char *const password, const char const url, const char* const icon)

I will add mention of these functions to the wiki page.
Can you try them out and let me know if they do what you need.

Thanks,
Peter

@ghost ghost assigned psinnott Nov 12, 2013
@UNIVAC-Colonel-Panic
Copy link
Author

Hi Peter,

Thanks for the reply. I can see I was not clear in my question. I meant, "can you add support for a separate application icon in the command line binary? I'm not that great in C programming unfortunately and would be using gntp-send in shell scripts and not as library calls.

@psinnott
Copy link
Owner

That makes sense.

Sorry for taking so long to get back to you. I have added support for separate application and notification icons to gntp-send.exe.

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