gnome-applets r10660 - in trunk/trashapplet: . src



Author: ryanl
Date: Thu Feb 14 00:00:09 2008
New Revision: 10660
URL: http://svn.gnome.org/viewvc/gnome-applets?rev=10660&view=rev

Log:
2008-02-13  Ryan Lortie  <desrt desrt ca>

        * src/trashapplet.c: fix transparency



Modified:
   trunk/trashapplet/ChangeLog
   trunk/trashapplet/src/trashapplet.c

Modified: trunk/trashapplet/src/trashapplet.c
==============================================================================
--- trunk/trashapplet/src/trashapplet.c	(original)
+++ trunk/trashapplet/src/trashapplet.c	Thu Feb 14 00:00:09 2008
@@ -206,6 +206,10 @@
   /* needed to clamp ourselves to the panel size */
   panel_applet_set_flags (PANEL_APPLET (applet), PANEL_APPLET_EXPAND_MINOR);
 
+  /* enable transparency hack */
+  panel_applet_set_background_widget (PANEL_APPLET (applet),
+                                      GTK_WIDGET (applet));
+
   /* setup the image */
   applet->image = g_object_ref_sink (gtk_image_new ());
   gtk_container_add (GTK_CONTAINER (applet),



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