Enabled and disabled tabs have both the css class views-display-deleted-link.

Because disabled class is set "if (empty($display->options['enabled']))" but disabled tabs have the option $display->display_options['enabled'] = FALSE;

The check should be:

<?php
if (isset($display->display_options['enabled']) && !$display->display_options['enabled']) {...}
?>
Files: 

Comments

Patch for this fix.

Title:Theme disabled Tabs (views_ui)Enabled displays get the disabled link class
Status:Active» Fixed

This patch totally makes sense, thanks for that, committed to both 8.x-3.x and 7.x-3.x

Commit:
http://drupalcode.org/project/views.git/commit/80f9cf8

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.