mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Name our classes
In order to not end up with random names prefixed with Gjs_, give each class a proper name, so its easier to inspect and allows usage with UI files
This commit is contained in:
4
src/controls.js
vendored
4
src/controls.js
vendored
@@ -9,7 +9,9 @@ const { settings } = Misc;
|
||||
|
||||
const INITIAL_ELAPSED = '00:00/00:00';
|
||||
|
||||
var Controls = GObject.registerClass(
|
||||
var Controls = GObject.registerClass({
|
||||
GTypeName: 'ClapperControls',
|
||||
},
|
||||
class ClapperControls extends Gtk.Box
|
||||
{
|
||||
_init()
|
||||
|
Reference in New Issue
Block a user