[gnome-color-manager] 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] Completely hide the fine tuning section for non-display devices
- Date: Fri, 1 Oct 2010 09:38:17 +0000 (UTC)
commit 7458e62268e8e2920da40a7076a67bbc15b597aa
Author: Richard Hughes <richard hughsie com>
Date: Fri Oct 1 10:38:02 2010 +0100
Completely hide the fine tuning section for non-display devices
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 8d96aba..8542356 100644
--- a/src/cc-color-panel.c
+++ b/src/cc-color-panel.c
@@ -1508,13 +1508,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_sensitive (widget, FALSE);
+ gtk_widget_set_visible (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_sensitive (widget, TRUE);
+ gtk_widget_set_visible (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]