[gtk+] shortcutswindow: Make the search button square



commit 26617bb9b40c77474af6034ee54b4563deea6db6
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Mar 15 07:51:48 2016 -0400

    shortcutswindow: Make the search button square
    
    Add the image-button style class to this button (this doesn't
    work automatically here, since this is a toggle button).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=763604

 gtk/gtkshortcutswindow.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkshortcutswindow.c b/gtk/gtkshortcutswindow.c
index 109c17f..4a1b5bc 100644
--- a/gtk/gtkshortcutswindow.c
+++ b/gtk/gtkshortcutswindow.c
@@ -827,6 +827,7 @@ gtk_shortcuts_window_init (GtkShortcutsWindow *self)
                                                        NULL),
                                 "visible", TRUE,
                                 NULL);
+  gtk_style_context_add (gtk_widget_get_style_context (search_button), "image-button");
   gtk_container_add (GTK_CONTAINER (priv->header_bar), GTK_WIDGET (search_button));
 
   priv->main_box = g_object_new (GTK_TYPE_BOX,


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