diff options
author | TingPing <tingping@tingping.se> | 2013-06-06 16:12:59 -0400 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-06-06 16:12:59 -0400 |
commit | a6f05db34b538a03c05f6e29fbf41314bbd93f34 (patch) | |
tree | 8c5cec0363b00a0e78d056d6fcd12fc79d40266f /src/fe-gtk/menu.c | |
parent | df0ee53765942d10e074659d88d7956294e74bcb (diff) |
Make autojoin a toggle menu
Diffstat (limited to 'src/fe-gtk/menu.c')
-rw-r--r-- | src/fe-gtk/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index 9819d7be..02bd3f1e 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -1049,11 +1049,11 @@ menu_addfavoritemenu (server *serv, GtkWidget *menu, char *channel) if (joinlist_is_in_list (serv, channel)) { - mg_create_icon_item (_("_Remove from Autojoin"), GTK_STOCK_REMOVE, menu, menu_delfav_cb, serv); + menu_toggle_item (_("_Autojoin"), menu, menu_delfav_cb, serv, TRUE); } else { - mg_create_icon_item (_("_Add to Autojoin"), GTK_STOCK_ADD, menu, menu_addfav_cb, serv); + menu_toggle_item (_("_Autojoin"), menu, menu_addfav_cb, serv, FALSE); } } |