gntp-send icon indicating copy to clipboard operation
gntp-send copied to clipboard

Support for application icons?

Open UNIVAC-Colonel-Panic opened this issue 11 years ago • 3 comments

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.

UNIVAC-Colonel-Panic avatar Nov 11 '13 16:11 UNIVAC-Colonel-Panic

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

psinnott avatar Nov 12 '13 10:11 psinnott

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.

UNIVAC-Colonel-Panic avatar Nov 13 '13 16:11 UNIVAC-Colonel-Panic

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.

psinnott avatar Nov 20 '13 02:11 psinnott