Only add option for notification in menu if notification plugin is enabled

This commit is contained in:
Colin Pitrat 2018-09-06 15:22:37 +01:00
parent e53c15f4a5
commit 20a4f1092e

View File

@ -1520,7 +1520,6 @@ mg_create_alertmenu (session *sess, GtkWidget *menu)
submenu = menu_quick_sub (_("_Extra Alerts"), menu, NULL, XCMENU_MNEMONIC, -1);
/* TODO: This should be added by the plugin, not sure how to do that though. */
if (notification_backend_supported())
{
mg_perchan_menu_item (_("_Notification"), submenu, &sess->alert_notif, prefs.hex_input_balloon_hilight);