diff options
Diffstat (limited to 'embed')
-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 f3ac543a4..d35477233 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -619,10 +619,11 @@ ephy_embed_constructed (GObject *object) web_view = WEBKIT_WEB_VIEW (ephy_web_view_new ()); scrolled_window = GTK_WIDGET (priv->scrolled_window); 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 | GDK_LEAVE_NOTIFY_MASK); - gtk_widget_set_name (overlay, "ephy-overlay"); gtk_container_add (GTK_CONTAINER (overlay), scrolled_window); /* statusbar is hidden by default */ @@ -634,7 +635,6 @@ ephy_embed_constructed (GObject *object) gtk_overlay_add_overlay (GTK_OVERLAY (overlay), priv->floating_bar); priv->progress = gtk_progress_bar_new (); - gtk_widget_set_name (priv->progress, "ephy-progress-bar"); 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); |