Use URL command for opening in existing
This avoids making a new connection to an already open network.
This commit is contained in:
parent
50219a63ad
commit
d1244d7231
@ -120,7 +120,7 @@ hexchat_remote (void)
|
|||||||
{
|
{
|
||||||
for (i = 0; i < g_strv_length(arg_urls); i++)
|
for (i = 0; i < g_strv_length(arg_urls); i++)
|
||||||
{
|
{
|
||||||
command = g_strdup_printf ("newserver %s", arg_urls[i]);
|
command = g_strdup_printf ("url %s", arg_urls[i]);
|
||||||
if (!dbus_g_proxy_call (remote_object, "Command",
|
if (!dbus_g_proxy_call (remote_object, "Command",
|
||||||
&error,
|
&error,
|
||||||
G_TYPE_STRING, command,
|
G_TYPE_STRING, command,
|
||||||
|
Loading…
Reference in New Issue
Block a user