[gnome-color-manager] Revert "Completely hide the fine tuning section for non-display devices"
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Revert "Completely hide the fine tuning section for non-display devices"
- Date: Fri, 1 Oct 2010 16:07:28 +0000 (UTC)
commit 491b84aac7d7f486d6e6a71876bc6645702771ed
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 1 16:54:01 2010 +0100
Revert "Completely hide the fine tuning section for non-display devices"
This reverts commit 7458e62268e8e2920da40a7076a67bbc15b597aa.
src/cc-color-panel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/cc-color-panel.c b/src/cc-color-panel.c
index d5fdadf..c1596e0 100644
--- a/src/cc-color-panel.c
+++ b/src/cc-color-panel.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]