From 237194d431df755d4dd0f0bdf835463134c81403 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 23 Mar 2012 15:18:45 -0400 Subject: 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 file changed, 4 insertions(+) (limited to 'lib/widgets/ephy-download-widget.c') diff --git a/lib/widgets/ephy-download-widget.c b/lib/widgets/ephy-download-widget.c index a70e24816..651c92ca6 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); } /** -- cgit v1.2.3