zhrexl / DrawOnYourScreen2

GNU General Public License v3.0
209 stars 20 forks source link

Gnome 46 Support #61

Closed cryptbrn closed 3 months ago

cryptbrn commented 3 months ago

This PR contains:

  1. Change Clutter.StaticColor and Clutter.Color.get_static to new const variable in elements.js (Clutter.StaticColor and Clutter.Color.get_static deprecated in Clutter14)
  2. Change Clutter.cairo_set_source_color() to cr.setSourceColor() (Clutter.cairo_set_source_color() deprecated in gnome 46 source)
  3. Change Clutter.Container.add_actor() and Clutter.Container.remove_actor() to Clutter.Actor.add_child() and Clutter.Actor.remove_child() (Change Clutter.Container.add_actor() and Clutter.Container.remove_actor() deprecated in gnome 46 source)

closes https://github.com/zhrexl/DrawOnYourScreen2/issues/60

marcoslor commented 3 months ago

It would be cool to have this forked, and added to the gnome extension portal

zhrexl commented 3 months ago

and added to the gnome extension portal

It still needs changes to be added to gnome extensions website. A lot of old code needs to be removed.

vovche commented 2 months ago

Thank you very much for your work. Guys, I have one more wish :) Please do the development in separate branches. This is important because the latest gnome 46 fixes are not compatible with gnome 45 and I think many users will be switching in a couple of months later.