aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet_editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stylesheet_editor.c')
-rw-r--r--src/stylesheet_editor.c9
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);