From 4a01f2c889b220cae1d8b31865cde4217d83da36 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 29 Apr 2019 23:08:18 +0200 Subject: Honour background in text frames --- src/stylesheet_editor.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/stylesheet_editor.c') diff --git a/src/stylesheet_editor.c b/src/stylesheet_editor.c index 374004b..9bf825d 100644 --- a/src/stylesheet_editor.c +++ b/src/stylesheet_editor.c @@ -344,14 +344,7 @@ static void set_values_from_presentation(StylesheetEditor *se) } } if ( strncmp(se->priv->style_name, "SLIDE", 5) == 0 ) { - if ( se->priv->style_name[5] == '.' ) { - - /* Slide item */ - set_bg_sensitive(se, FALSE); - set_padding_sensitive(se, TRUE); - - } else { - + if ( se->priv->style_name[5] != '.' ) { /* Top level "slide" */ set_geom_sensitive(se, FALSE); gtk_widget_set_sensitive(se->w, TRUE); -- cgit v1.2.3