summaryrefslogtreecommitdiff
path: root/src/gui/panels
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/panels')
-rw-r--r--src/gui/panels/errors.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/gui/panels/errors.c b/src/gui/panels/errors.c
index 9f5cef4..1c2c54f 100644
--- a/src/gui/panels/errors.c
+++ b/src/gui/panels/errors.c
@@ -597,7 +597,10 @@ static void update_error_panel(GErrorPanel *panel, GtkStatusStack *status, activ
if (fmt)
{
- if (show_format && e->ftype == BFE_STRUCTURE)
+ if (show_format && e->ftype == BFE_SPECIFICATION)
+ visible = TRUE;
+
+ else if (show_format && e->ftype == BFE_STRUCTURE)
visible = TRUE;
}
@@ -624,7 +627,10 @@ static void update_error_panel(GErrorPanel *panel, GtkStatusStack *status, activ
if (fmt)
{
- if (show_format && e->ftype == BFE_STRUCTURE)
+ if (show_format && e->ftype == BFE_SPECIFICATION)
+ icon = G_ERROR_PANEL_GET_CLASS(panel)->format_img;
+
+ else if (show_format && e->ftype == BFE_STRUCTURE)
icon = G_ERROR_PANEL_GET_CLASS(panel)->format_img;
}
@@ -834,7 +840,10 @@ static void filter_error_panel(GErrorPanel *panel, GtkStatusStack *status, activ
if (fmt)
{
- if (show_format && type == BFE_STRUCTURE)
+ if (show_format && type == BFE_SPECIFICATION)
+ visible = TRUE;
+
+ else if (show_format && type == BFE_STRUCTURE)
visible = TRUE;
}