summaryrefslogtreecommitdiff
path: root/gladeui/glade-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'gladeui/glade-editor.c')
-rw-r--r--gladeui/glade-editor.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/gladeui/glade-editor.c b/gladeui/glade-editor.c
index 81c3a6af..03501372 100644
--- a/gladeui/glade-editor.c
+++ b/gladeui/glade-editor.c
@@ -573,13 +573,9 @@ glade_editor_table_append_items (GladeEditorTable *table,
continue;
else if (type == TABLE_TYPE_GENERAL && property_class->common)
continue;
- else if (type == TABLE_TYPE_ATK &&
- (property_class->type == GPC_NORMAL ||
- property_class->type == GPC_ACCEL_PROPERTY))
+ else if (type == TABLE_TYPE_ATK && !property_class->atk)
continue;
- else if (type != TABLE_TYPE_ATK &&
- (property_class->type != GPC_NORMAL &&
- property_class->type != GPC_ACCEL_PROPERTY))
+ else if (type != TABLE_TYPE_ATK && property_class->atk)
continue;
property = glade_editor_table_append_item (table, property_class,
@@ -1200,8 +1196,7 @@ glade_editor_populate_reset_view (GladeEditor *editor,
if (glade_property_class_is_visible (property->klass) == FALSE)
continue;
- if (property->klass->type != GPC_NORMAL &&
- property->klass->type != GPC_ACCEL_PROPERTY)
+ if (property->klass->atk)
iter = &atk_iter;
else if (property->klass->common)
iter = &common_iter;