Add Desklet position by code
This commit is contained in:
parent
293f0f31ed
commit
7d8ac4223c
@ -203,6 +203,10 @@ MyDesklet.prototype = {
|
|||||||
Mainloop.source_remove(this.timeout);
|
Mainloop.source_remove(this.timeout);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
on_desklet_added_to_desktop: function(){
|
||||||
|
this.actor.set_position(0, 0);
|
||||||
|
},
|
||||||
|
|
||||||
get_cpu_times: function(){
|
get_cpu_times: function(){
|
||||||
// launching sequential processes
|
// launching sequential processes
|
||||||
// https://stackoverflow.com/questions/61147229/multiple-arguments-in-gio-subprocess
|
// https://stackoverflow.com/questions/61147229/multiple-arguments-in-gio-subprocess
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user