From fd762303b0c655f77ddff3004bfaaf11cc6c4e0d Mon Sep 17 00:00:00 2001 From: TingPing Date: Thu, 6 Jun 2013 16:49:57 -0400 Subject: Add autoconnect option to menu of networks --- src/fe-gtk/maingui.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fe-gtk/maingui.c') diff --git a/src/fe-gtk/maingui.c b/src/fe-gtk/maingui.c index 96f5e6b2..2fe5d12c 100644 --- a/src/fe-gtk/maingui.c +++ b/src/fe-gtk/maingui.c @@ -1611,6 +1611,8 @@ mg_create_tabmenu (session *sess, GdkEventButton *event, chan *ch) if (sess->type == SESS_CHANNEL) menu_addfavoritemenu (sess->server, menu, sess->channel); + else if (sess->type == SESS_SERVER) + menu_addconnectmenu (sess->server, menu); } mg_create_icon_item (_("_Detach"), GTK_STOCK_REDO, menu, -- cgit 1.4.1