[Xfce4-commits] [xfce/xfce4-settings] 28/37: color: Correctly initialize add/remove button states

noreply at xfce.org noreply at xfce.org
Fri Feb 15 00:27:57 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 329c234c757a8f16e47aa28a7396b87cafb81587
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Feb 13 00:43:32 2019 +0100

    color: Correctly initialize add/remove button states
---
 dialogs/color-settings/main.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dialogs/color-settings/main.c b/dialogs/color-settings/main.c
index 3d552ea..8f69dfe 100644
--- a/dialogs/color-settings/main.c
+++ b/dialogs/color-settings/main.c
@@ -1027,8 +1027,10 @@ color_settings_dialog_init (GtkBuilder *builder)
 
     /* Profiles ListBox */
     settings->profiles_add = gtk_builder_get_object (builder, "profiles-add");
+    gtk_widget_set_sensitive (GTK_WIDGET (settings->profiles_add), FALSE);
     g_signal_connect (settings->profiles_add, "clicked", G_CALLBACK (color_settings_profile_add_cb), settings);
     settings->profiles_remove = gtk_builder_get_object (builder, "profiles-remove");
+    gtk_widget_set_sensitive (GTK_WIDGET (settings->profiles_remove), FALSE);
     g_signal_connect (settings->profiles_remove, "clicked", G_CALLBACK (color_settings_profile_remove_cb), settings);
 
     settings->label_no_profiles = gtk_builder_get_object (builder, "label-no-profiles");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list