diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-05-12 05:44:32 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-05-12 05:44:32 +0200 |
commit | 198dc9eb43e6d0e5c1bb44849ce671ebf18cafcd (patch) | |
tree | 01443816f0790d3143707c1e8c5494c3f0f769f6 /src/fe-gtk/menu.c | |
parent | bb86771425cfdd3d09c91ce3583bb61d55005bc2 (diff) |
Fix favorite channels except in inbound.c
Diffstat (limited to 'src/fe-gtk/menu.c')
-rw-r--r-- | src/fe-gtk/menu.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/menu.c b/src/fe-gtk/menu.c index 79e1bad8..014ef3e7 100644 --- a/src/fe-gtk/menu.c +++ b/src/fe-gtk/menu.c @@ -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 |