Comment 0 for bug 199276

Revision history for this message
plun (plun) wrote :

Adds RGBA transparency to screenlets-manager

All Credits to Oasisgames :)

screenlets-manager.py

Find "create_gui", line ~570

 def create_ui (self):
  """Create UI."""
  # window
  self.window = w = gtk.Window()
  self.gtk_screen = w.get_screen()
  colormap = self.gtk_screen.get_rgba_colormap()
  if colormap:
       gtk.widget_set_default_colormap(colormap)

  if USER == 0: # add note about "root-mode"

And tab it over properly.
Just case, I also pop it when it quits:
Before "gtk.main_quit()" (line ~1190)

gtk.widget_pop_colormap()

Reference thread C-F Forum
http://forum.compiz-fusion.org/showthread.php?t=7326