Git Product home page Git Product logo

Comments (8)

didierm avatar didierm commented on July 24, 2024

https://gjs.guide/guides/gjs/legacy-class-syntax.html#comparison-between-legacy-and-es6

from connectionmanager2.

didierm avatar didierm commented on July 24, 2024

I've replaced Lang. incantations with GObject.registerClass , and managed to get CM running in GNOME 42.

from connectionmanager2.

pieska avatar pieska commented on July 24, 2024

that's great, could you do a pull request or post the patch?

from connectionmanager2.

didierm avatar didierm commented on July 24, 2024

CM is quite essential in my workflow.
I'v looked at Argos (https://github.com/p-e-w/argos) as a polyvalent and supported replacement candidate, but IIRC, Argos does not provide a (for me essential) search provider.

Over the past few years and by comparing CM code with other extensions code (I don't know a single bit of GNOME/JS/gjs programming), I have modified CM to run with the different GNOME incantations (including the search provider functionality et al).
As the changes are all over the place, posting a single patch or diff is useless (and I don't know too much about git either).
CM runs perfectly in Fedora 36 (GNOME 42).

I am fully prepared to upload the zip file with the result of that work here, provided someone goes through the trouble to either sort the code out in patches and pull requests (but the project seems largely dormant), or fork the project.

from connectionmanager2.

didierm avatar didierm commented on July 24, 2024

@pieska I just noticed you maintain a fork yourself.
Please find attached CM (internal version 6) : [email protected]

Note : CM6 expects to find "~/.connmgr" in ~/.config/connmgr.

from connectionmanager2.

pieska avatar pieska commented on July 24, 2024

@didierm thanks, i took the changes for ES6 from your version, see #72

from connectionmanager2.

didierm avatar didierm commented on July 24, 2024

My pleasure.
I gather you did not commit the other changes (search provider stuff, config file location, debugging, etc.) ?

from connectionmanager2.

pieska avatar pieska commented on July 24, 2024

i just took the changes to make it working again. To create nice and correct pull requests i have to understand the changes, which i don't, I'm no software guy and especially no JS guy, it's all greek to me ;-)

from connectionmanager2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.