[Xfce4-commits] [xfce/xfce4-settings] 27/37: color: Improve state machine for profile remove
noreply at xfce.org
noreply at xfce.org
Fri Feb 15 00:27:56 CET 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h o c h o s i / c o l o r d
in repository xfce/xfce4-settings.
commit b8a36c261b69a94165dbe0851f1511bf9f961979
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Wed Feb 13 00:41:44 2019 +0100
color: Improve state machine for profile remove
---
dialogs/color-settings/main.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/dialogs/color-settings/main.c b/dialogs/color-settings/main.c
index 8bc12f3..3d552ea 100644
--- a/dialogs/color-settings/main.c
+++ b/dialogs/color-settings/main.c
@@ -727,7 +727,6 @@ color_settings_update_profile_list_extra_entry (ColorSettings *settings)
number_of_profiles = g_list_length (profile_widgets);
gtk_widget_set_visible (GTK_WIDGET (settings->label_no_profiles), number_of_profiles == 0);
gtk_widget_set_visible (GTK_WIDGET (settings->box_profiles), number_of_profiles > 0);
- gtk_widget_set_sensitive (GTK_WIDGET (settings->profiles_remove), number_of_profiles > 0);
}
@@ -776,8 +775,7 @@ color_settings_profiles_list_box_row_selected_cb (GtkListBox *list_box,
GtkListBoxRow *row,
ColorSettings *settings)
{
-/* TODO: Check/Update the state of the toolbar buttons
- */
+ gtk_widget_set_sensitive (GTK_WIDGET (settings->profiles_remove), TRUE);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list