[gedit] Make the search popup border transparent.



commit fe7c0fc6ffcd8a034c1805fa3a22e58025b51379
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu May 24 14:22:34 2012 +0200

    Make the search popup border transparent.

 gedit/gedit-view-frame.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-view-frame.c b/gedit/gedit-view-frame.c
index 86f4e21..f3a94a4 100644
--- a/gedit/gedit-view-frame.c
+++ b/gedit/gedit-view-frame.c
@@ -1247,6 +1247,7 @@ gedit_view_frame_init (GeditViewFrame *frame)
 {
 	GeditDocument *doc;
 	GtkWidget *sw;
+	GdkRGBA transparent = {0, 0, 0, 0};
 
 	frame->priv = GEDIT_VIEW_FRAME_GET_PRIVATE (frame);
 
@@ -1281,6 +1282,7 @@ gedit_view_frame_init (GeditViewFrame *frame)
 
 	frame->priv->overlay = gedit_animated_overlay_new ();
 	gtk_container_add (GTK_CONTAINER (frame->priv->overlay), sw);
+	gtk_widget_override_background_color (frame->priv->overlay, 0, &transparent);
 	gtk_widget_show (frame->priv->overlay);
 
 	gtk_box_pack_start (GTK_BOX (frame), frame->priv->overlay, TRUE, TRUE, 0);



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