File tree 4 files changed +7
-5
lines changed
4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tilingshell" ,
3
- "version" : " 9.0 " ,
3
+ "version" : " 9.1 " ,
4
4
"author" :
" Domenico Ferraro <[email protected] >" ,
5
5
"private" : true ,
6
6
"license" : " GPL v2.0" ,
Original file line number Diff line number Diff line change 10
10
" 46"
11
11
],
12
12
"version" : 9 ,
13
- "version-name" : " 9.0 " ,
13
+ "version-name" : " 9.1 " ,
14
14
"url" : " https://github.com/domferr/tilingshell" ,
15
15
"settings-schema" : " org.gnome.shell.extensions.tilingshell" ,
16
16
"donations" : {
Original file line number Diff line number Diff line change @@ -14,10 +14,11 @@ export default class DBus {
14
14
this . _dbus = null ;
15
15
}
16
16
17
- public enable ( ) {
17
+ public enable ( ext : any ) {
18
18
if ( this . _dbus ) return ;
19
19
20
- this . _dbus = Gio . DBusExportedObject . wrapJSObject ( node , this ) ;
20
+ this . _dbus = Gio . DBusExportedObject . wrapJSObject ( node , ext ) ;
21
+ this . _dbus . export ( Gio . DBus . session , '/org/gnome/shell/extensions/TilingShell' ) ;
21
22
}
22
23
23
24
public disable ( ) {
Original file line number Diff line number Diff line change @@ -97,7 +97,8 @@ export default class TilingShellExtension extends Extension {
97
97
98
98
if ( this . _dbus ) this . _dbus . disable ( ) ;
99
99
this . _dbus = new DBus ( ) ;
100
- this . _dbus . enable ( ) ;
100
+ this . _dbus . enable ( this ) ;
101
+
101
102
debug ( 'extension is enabled' ) ;
102
103
}
103
104
You can’t perform that action at this time.
0 commit comments