diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-04-29 23:08:18 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-04-29 23:08:18 +0200 |
commit | 4a01f2c889b220cae1d8b31865cde4217d83da36 (patch) | |
tree | 42f3d3f3ff3357c43091c13eb2651a5ddb5cb761 /src | |
parent | 047c1acbdf600a1ba3e43755de2fd701f402f513 (diff) |
Honour background in text frames
Diffstat (limited to 'src')
-rw-r--r-- | src/stylesheet_editor.c | 9 |
1 files changed, 1 insertions, 8 deletions
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); |