From 8dc682ab3b660ae8e4d517fbf66467716d2d4a8c Mon Sep 17 00:00:00 2001 From: Andreas Piesk Date: Thu, 20 Apr 2023 12:57:05 +0200 Subject: [PATCH] fix for gnome 44.0 https://github.com/sciancio/connectionmanager2/issues/74#issuecomment-1528707164 --- extension.js | 4 ++-- metadata.json | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/extension.js b/extension.js index 3761242..859f5cd 100644 --- a/extension.js +++ b/extension.js @@ -347,8 +347,8 @@ function disable() { function init(extensionMeta) { extensionPath = extensionMeta.path; - - let theme = imports.gi.Gtk.IconTheme.get_default(); + + let theme = imports.gi.St.IconTheme.new(); if(theme!=null) { theme.append_search_path(extensionPath); } diff --git a/metadata.json b/metadata.json index bafbd0b..745d63a 100644 --- a/metadata.json +++ b/metadata.json @@ -17,7 +17,9 @@ "3.32", "40.0", "41.1", - "42.0" + "42.0", + "43.0", + "44.0" ], "sw_bin": "connmgr.py", "sw_config": ".connmgr",