Creating tab underline only for Windows themes
@@ -11,9 +11,9 @@ def tweak_notebooks():
style = ttk.Style()
theme = style.theme_use()
+ if theme in ["xpnative", "vista"]:
get_workbench().get_image('gray_line.gif', "gray_line")
-
style.element_create("gray_line", "image", "gray_line",
("!selected", "gray_line"),
height=1, width=10, border=1)
