[gnome-flashback] desktop: use GTK_STYLE_CLASS_DEFAULT for create button



commit d4db5d92beeeb4ef9c9af734268c70e78676946d
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Wed Nov 13 22:13:02 2019 +0200

    desktop: use GTK_STYLE_CLASS_DEFAULT for create button
    
    GTK will add GTK_STYLE_CLASS_SUGGESTED_ACTION class if style has
    GTK_STYLE_CLASS_DEFAULT, otherwise it will remove it.

 gnome-flashback/libdesktop/gf-create-folder-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-flashback/libdesktop/gf-create-folder-dialog.c 
b/gnome-flashback/libdesktop/gf-create-folder-dialog.c
index 80c4fc3..214af55 100644
--- a/gnome-flashback/libdesktop/gf-create-folder-dialog.c
+++ b/gnome-flashback/libdesktop/gf-create-folder-dialog.c
@@ -173,7 +173,7 @@ setup_header_bar (GfCreateFolderDialog *self)
   gtk_widget_show (self->create_button);
 
   style = gtk_widget_get_style_context (self->create_button);
-  gtk_style_context_add_class (style, GTK_STYLE_CLASS_SUGGESTED_ACTION);
+  gtk_style_context_add_class (style, GTK_STYLE_CLASS_DEFAULT);
 
   gtk_widget_set_sensitive (self->create_button, FALSE);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]