[Xfce4-commits] [panel-plugins/xfce4-clipman-plugin] 01/01: Make the default button appear as default

noreply at xfce.org noreply at xfce.org
Fri Mar 27 01:30:48 CET 2020


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       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-clipman-plugin.

commit b45a827d97e041e617677984987ba72657f143eb
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Fri Mar 27 01:30:23 2020 +0100

    Make the default button appear as default
---
 panel-plugin/xfce4-clipman-history.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/xfce4-clipman-history.c b/panel-plugin/xfce4-clipman-history.c
index c72db27..d7e1d2c 100644
--- a/panel-plugin/xfce4-clipman-history.c
+++ b/panel-plugin/xfce4-clipman-history.c
@@ -395,6 +395,7 @@ clipman_history_dialog_init (MyPlugin *plugin)
   button = gtk_dialog_add_button (GTK_DIALOG (dialog), button_text, GTK_RESPONSE_APPLY);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_APPLY);
 #endif
+  gtk_style_context_add_class (gtk_widget_get_style_context (button), "suggested-action");
   gtk_button_set_image (GTK_BUTTON (button), icon);
 
   box = clipman_history_treeview_init (plugin);

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


More information about the Xfce4-commits mailing list