[Code change] proposal RGBA support

Bug #199276 reported by plun
2
Affects Status Importance Assigned to Milestone
Screenlets
Triaged
Wishlist
Unassigned

Bug Description

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

plun (plun)
description: updated
Helder Fraga (whise)
Changed in screenlets:
status: New → Fix Released
Revision history for this message
Andrea Cimitan (cimi) wrote :

Where this fix was released?

Revision history for this message
plun (plun) wrote :

Yup, rev 193 and 194

No regressions as I can see, just beautiful... :)

Thanks "whise" ! and a big thanks to you Cimi for the engine !!!

Revision history for this message
K. Lange (k-lange) wrote :

The same modifications can be applied somewhere in the Screenlet GTK code to get the menus and dialogs to appear properly. I made an attempt, but the menu and anything else that loads before the main dialog is ignored, so I probably needs to be put earlier than the start up of the properties dialog...

Revision history for this message
Helder Fraga (whise) wrote :

this is done already rev 194

Revision history for this message
plun (plun) wrote :

Broken in rev 206, options OK

Changed in screenlets:
status: Fix Released → Confirmed
status: Confirmed → New
Revision history for this message
plun (plun) wrote :
Helder Fraga (whise)
Changed in screenlets:
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.