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
f9584966
Commit
f9584966
authored
Jan 03, 2013
by
Richard Hughes
Browse files
color: Only show the add button when the device is selected
parent
540f37be
Changes
1
Hide whitespace changes
Inline
Side-by-side
panels/color/cc-color-panel.c
View file @
f9584966
...
...
@@ -1138,7 +1138,7 @@ gcm_prefs_devices_treeview_clicked_cb (GtkTreeSelection *selection,
gtk_widget_set_visible
(
widget
,
profile
==
NULL
);
widget
=
GTK_WIDGET
(
gtk_builder_get_object
(
priv
->
builder
,
"toolbutton_profile_add"
));
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_view"
));
gtk_widget_set_visible
(
widget
,
profile
!=
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