be more specific about sysinfo menu entry
This commit is contained in:
parent
e1ce1c90f7
commit
1277b4c30f
|
@ -399,7 +399,7 @@ hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **p
|
||||||
firstRun = 1;
|
firstRun = 1;
|
||||||
|
|
||||||
hexchat_hook_command (ph, "SYSINFO", HEXCHAT_PRI_NORM, printInfo, helptext, NULL);
|
hexchat_hook_command (ph, "SYSINFO", HEXCHAT_PRI_NORM, printInfo, helptext, NULL);
|
||||||
hexchat_command (ph, "MENU -ishare\\system.png ADD \"Window/Display System Info\" \"SYSINFO\"");
|
hexchat_command (ph, "MENU -ishare\\system.png ADD \"Window/Send System Info\" \"SYSINFO\"");
|
||||||
|
|
||||||
hexchat_printf (ph, "%s plugin loaded\n", name);
|
hexchat_printf (ph, "%s plugin loaded\n", name);
|
||||||
|
|
||||||
|
|
|
@ -867,7 +867,7 @@ hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **p
|
||||||
hexchat_pluginpref_set_int (ph, "percent", DEFAULT_PERCENT);
|
hexchat_pluginpref_set_int (ph, "percent", DEFAULT_PERCENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
hexchat_command (ph, "MENU ADD \"Window/Display System Info\" \"SYSINFO\"");
|
hexchat_command (ph, "MENU ADD \"Window/Send System Info\" \"SYSINFO\"");
|
||||||
hexchat_printf (ph, "%s plugin loaded\n", name);
|
hexchat_printf (ph, "%s plugin loaded\n", name);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue