projecthamster / hamster-shell-extension

Shell extension for hamster
http://projecthamster.org
GNU General Public License v3.0
217 stars 92 forks source link

Cannot edit hotkey in prefs #350

Closed rrthomas closed 2 years ago

rrthomas commented 2 years ago

On GNOME 42, when I edit the hotkey in the prefs in Extension Manager, whatever I type as the new hotkey combination is replaced by the string 0x1, which looks like some kind of error code.

If I edit the hotkey pref directly in dconf, then it takes effect as expected.

Thanks for hamster-shell-extension! I was relieved to find it has been updated for GNOME 42 when I upgraded just now.

mwilck commented 2 years ago

Thanks for the report. It seems that Gtk.accelerator_parse() has changed its return value

Strangely, Gtk.MAJOR_VERSION is different in the extension itself and in lg.

mwilck commented 2 years ago

Please test the code from #351.