Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Settings
Commits
540f37be
Commit
540f37be
authored
Jan 03, 2013
by
Richard Hughes
Browse files
color: Only show the calibrate button when the device is selected
parent
45d4944b
Changes
1
Hide whitespace changes
Inline
Side-by-side
panels/color/cc-color-panel.c
View file @
540f37be
...
...
@@ -1135,7 +1135,7 @@ gcm_prefs_devices_treeview_clicked_cb (GtkTreeSelection *selection,
gtk_widget_set_visible
(
widget
,
FALSE
);
widget
=
GTK_WIDGET
(
gtk_builder_get_object
(
priv
->
builder
,
"toolbutton_device_calibrate"
));
gtk_widget_set_visible
(
widget
,
devic
e
!
=
NULL
);
gtk_widget_set_visible
(
widget
,
profil
e
=
=
NULL
);
widget
=
GTK_WIDGET
(
gtk_builder_get_object
(
priv
->
builder
,
"toolbutton_profile_add"
));
gtk_widget_set_visible
(
widget
,
device
!=
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment