Fix favorite channels except in inbound.c

This commit is contained in:
Berke Viktor
2013-05-12 05:44:32 +02:00
parent bb86771425
commit 198dc9eb43
7 changed files with 332 additions and 522 deletions

View File

@@ -1048,9 +1048,13 @@ menu_addfavoritemenu (server *serv, GtkWidget *menu, char *channel)
}
if (joinlist_is_in_list (serv, channel))
{
mg_create_icon_item (_("_Remove from Favorites"), GTK_STOCK_REMOVE, menu, menu_delfav_cb, serv);
}
else
{
mg_create_icon_item (_("_Add to Favorites"), GTK_STOCK_ADD, menu, menu_addfav_cb, serv);
}
}
static void