menu entry and icon for winam plugin
This commit is contained in:
parent
32023cc18e
commit
b52397e11d
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
|
@ -171,6 +171,7 @@ int xchat_plugin_init(xchat_plugin *plugin_handle,
|
|||
*plugin_version = "0.4";
|
||||
|
||||
xchat_hook_command(ph, "WINAMP", XCHAT_PRI_NORM, winamp, "Usage: /WINAMP [PAUSE|PLAY|STOP|NEXT|PREV|START] - control Winamp or show what's currently playing", 0);
|
||||
xchat_command (ph, "MENU -ietc\music.png ADD \"Window/Display current song\" \"WINAMP\"");
|
||||
|
||||
xchat_print(ph, "Winamp plugin loaded\n");
|
||||
|
||||
|
@ -179,6 +180,7 @@ int xchat_plugin_init(xchat_plugin *plugin_handle,
|
|||
|
||||
int xchat_plugin_deinit(void)
|
||||
{
|
||||
xchat_command(ph, "MENU DEL \"Window/Display current song\"");
|
||||
xchat_print(ph, "Winamp plugin unloaded\n");
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue