Commit 491b84aa authored by Richard Hughes's avatar Richard Hughes

Revert "Completely hide the fine tuning section for non-display devices"

This reverts commit 7458e622.
parent 6c71185e
......@@ -1561,13 +1561,13 @@ cc_color_panel_devices_treeview_clicked_cb (GtkTreeSelection *selection, CcColor
kind = gcm_device_get_kind (panel->priv->current_device);
if (kind != GCM_DEVICE_KIND_DISPLAY) {
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "expander_fine_tuning"));
gtk_widget_set_visible (widget, FALSE);
gtk_widget_set_sensitive (widget, FALSE);
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "button_reset"));
gtk_widget_set_sensitive (widget, FALSE);
} else {
/* show more UI */
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "expander_fine_tuning"));
gtk_widget_set_visible (widget, TRUE);
gtk_widget_set_sensitive (widget, TRUE);
widget = GTK_WIDGET (gtk_builder_get_object (panel->priv->builder, "button_reset"));
gtk_widget_set_sensitive (widget, TRUE);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment