diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2012-12-17 20:09:46 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2012-12-17 20:22:38 +0800 |
commit | 2e710ab607b2ab2b18125574bf9fbcd44abd74b4 (patch) | |
tree | dabfc9e4bf20f15be481b9d6314b4ad0e319e228 /embed/ephy-embed.c | |
parent | ebd44a6544f3d6aafb1477c63b3107c36fbf2e7c (diff) | |
download | gsoc2013-epiphany-2e710ab607b2ab2b18125574bf9fbcd44abd74b4.tar gsoc2013-epiphany-2e710ab607b2ab2b18125574bf9fbcd44abd74b4.tar.gz gsoc2013-epiphany-2e710ab607b2ab2b18125574bf9fbcd44abd74b4.tar.bz2 gsoc2013-epiphany-2e710ab607b2ab2b18125574bf9fbcd44abd74b4.tar.lz gsoc2013-epiphany-2e710ab607b2ab2b18125574bf9fbcd44abd74b4.tar.xz gsoc2013-epiphany-2e710ab607b2ab2b18125574bf9fbcd44abd74b4.tar.zst gsoc2013-epiphany-2e710ab607b2ab2b18125574bf9fbcd44abd74b4.zip |
embed: move the OSD style class to the progressbar
<xan> cosimoc: ok, sure, go ahead
Fixes black scrollbars showing up.
Diffstat (limited to 'embed/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index 151a18dfa..c66dad3c5 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -880,8 +880,6 @@ ephy_embed_constructed (GObject *object) scrolled_window = GTK_WIDGET (priv->scrolled_window); #endif overlay = gtk_overlay_new (); - gtk_style_context_add_class (gtk_widget_get_style_context (overlay), - GTK_STYLE_CLASS_OSD); gtk_widget_add_events (overlay, GDK_ENTER_NOTIFY_MASK | @@ -910,6 +908,8 @@ ephy_embed_constructed (GObject *object) gtk_overlay_add_overlay (GTK_OVERLAY (overlay), priv->floating_bar); priv->progress = gtk_progress_bar_new (); + gtk_style_context_add_class (gtk_widget_get_style_context (priv->progress), + GTK_STYLE_CLASS_OSD); gtk_widget_set_halign (priv->progress, GTK_ALIGN_FILL); gtk_widget_set_valign (priv->progress, GTK_ALIGN_START); gtk_overlay_add_overlay (GTK_OVERLAY (overlay), priv->progress); |