adjust visibility calculations

This commit is contained in:
Brandon Lewis 2010-08-02 17:25:26 +02:00 committed by Edward Hervey
parent b37a92b255
commit 3b2659b6f9

View file

@ -217,7 +217,11 @@ app_selection_changed_cb (GtkTreeSelection * selection, App * app)
app->selected_type == GES_TYPE_TIMELINE_TITLE_SOURCE);
gtk_widget_set_visible (app->generic_duration,
app->selected_type == GES_TYPE_TIMELINE_TITLE_SOURCE);
app->selected_type == GES_TYPE_TIMELINE_TITLE_SOURCE ||
app->selected_type == GES_TYPE_TIMELINE_TEST_SOURCE);
gtk_widget_set_visible (app->background_properties,
app->selected_type == GES_TYPE_TIMELINE_TEST_SOURCE);
}
gboolean