gnomeExtensions.pop-shell: unstable-2023-04-27 -> unstable-2023-11-10

This commit is contained in:
Dawid Dziurla 2023-11-25 14:45:16 +01:00
parent 21dc638b82
commit da87e679f5
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B
2 changed files with 14 additions and 17 deletions

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "gnome-shell-extension-pop-shell";
version = "unstable-2023-04-27";
version = "unstable-2023-11-10";
src = fetchFromGitHub {
owner = "pop-os";
repo = "shell";
rev = "b5acccefcaa653791d25f70a22c0e04f1858d96e";
hash = "sha256-w6EBHKWJ4L3ZRVmFqZhCqHGumbElQXk9udYSnwjIl6c=";
rev = "aafc9458a47a68c396933c637de00421f5198a2a";
hash = "sha256-74lZbEYHj7fufRSbuI2SN9rqbB3gpRa0V96qjAFc01s=";
};
nativeBuildInputs = [ glib gjs typescript ];

View file

@ -1,29 +1,26 @@
diff --git a/src/extension.ts b/src/extension.ts
index c3833e9..611e84c 100644
index f34e865..f12d4db 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -544,7 +544,7 @@ export class Ext extends Ecs.System<ExtEvent> {
return true
}
@@ -556,7 +556,7 @@ export class Ext extends Ecs.System<ExtEvent> {
return true;
};
- const ipc = utils.async_process_ipc(["gjs", path])
+ const ipc = utils.async_process_ipc([path])
- const ipc = utils.async_process_ipc(['gjs', '--module', path]);
+ const ipc = utils.async_process_ipc([path]);
if (ipc) {
const generator = (stdout: any, res: any) => {
diff --git a/src/panel_settings.ts b/src/panel_settings.ts
index 5d02d33..1cd70d0 100644
index fbcafbf..ef409ee 100644
--- a/src/panel_settings.ts
+++ b/src/panel_settings.ts
@@ -348,7 +348,7 @@ function color_selector(ext: Ext, menu: any) {
@@ -352,7 +352,7 @@ function color_selector(ext: Ext, menu: any) {
color_selector_item.add_child(color_button);
color_button.connect('button-press-event', () => {
let path = Me.dir.get_path() + "/color_dialog/main.js";
- let resp = GLib.spawn_command_line_async(`gjs ${path}`);
let path = get_current_path() + '/color_dialog/main.js';
- let resp = GLib.spawn_command_line_async(`gjs --module ${path}`);
+ let resp = GLib.spawn_command_line_async(`${path}`);
if (!resp) {
return null;
--
2.37.3
}