[epiphany] download-widget: use the "linked" style class



commit 237194d431df755d4dd0f0bdf835463134c81403
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Mar 23 15:18:45 2012 -0400

    download-widget: use the "linked" style class
    
    Link the glow and the menu buttons together by using a "linked" style
    class on the box containing them.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672712

 lib/widgets/ephy-download-widget.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/lib/widgets/ephy-download-widget.c b/lib/widgets/ephy-download-widget.c
index a70e248..651c92c 100644
--- a/lib/widgets/ephy-download-widget.c
+++ b/lib/widgets/ephy-download-widget.c
@@ -390,10 +390,14 @@ ephy_download_widget_class_init (EphyDownloadWidgetClass *klass)
 static void
 ephy_download_widget_init (EphyDownloadWidget *self)
 {
+  GtkStyleContext *context;
+
   self->priv = DOWNLOAD_WIDGET_PRIVATE (self);
 
   gtk_orientable_set_orientation (GTK_ORIENTABLE (self),
                                   GTK_ORIENTATION_HORIZONTAL);
+  context = gtk_widget_get_style_context (GTK_WIDGET (self));
+  gtk_style_context_add_class (context, GTK_STYLE_CLASS_LINKED);
 }
 
 /**



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