aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-03-24 03:18:45 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2012-03-27 00:44:51 +0800
commit237194d431df755d4dd0f0bdf835463134c81403 (patch)
treed2d78decd5bfebd484d16031711d61306c4f2cfe /lib
parentb22dbc6b5df23ef882d5f294027dffe3849d9463 (diff)
downloadgsoc2013-epiphany-237194d431df755d4dd0f0bdf835463134c81403.tar
gsoc2013-epiphany-237194d431df755d4dd0f0bdf835463134c81403.tar.gz
gsoc2013-epiphany-237194d431df755d4dd0f0bdf835463134c81403.tar.bz2
gsoc2013-epiphany-237194d431df755d4dd0f0bdf835463134c81403.tar.lz
gsoc2013-epiphany-237194d431df755d4dd0f0bdf835463134c81403.tar.xz
gsoc2013-epiphany-237194d431df755d4dd0f0bdf835463134c81403.tar.zst
gsoc2013-epiphany-237194d431df755d4dd0f0bdf835463134c81403.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-download-widget.c4
1 files changed, 4 insertions, 0 deletions
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);
}
/**