gntp-send
gntp-send copied to clipboard
Support for application icons?
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.
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
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.
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.