From 881dbac5d93cffd2f6a9f5c3896d1c84ebfd0ce5 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 19 Jun 2013 19:37:17 +0000 Subject: This commit tackles the "context" buttons in Properties header, which were still using "ugly" old UI code. It removes buttons_header.c file, adds a (small) space_properties.py one, with a PROPERTIES_HT_header class, which simply uses the RNA enum to draw the context buttons. It also fixes that enum, btw, it always featured all contexts, which means you could (try to!) set through RNA invalid contexts... Thanks to brecht and dingto for the reviews. --- source/blender/editors/space_buttons/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/editors/space_buttons/CMakeLists.txt') diff --git a/source/blender/editors/space_buttons/CMakeLists.txt b/source/blender/editors/space_buttons/CMakeLists.txt index b20301cfc3b..9e045a39a0c 100644 --- a/source/blender/editors/space_buttons/CMakeLists.txt +++ b/source/blender/editors/space_buttons/CMakeLists.txt @@ -35,7 +35,6 @@ set(INC_SYS set(SRC buttons_context.c - buttons_header.c buttons_ops.c buttons_texture.c space_buttons.c -- cgit v1.2.3