diff --git a/0002-extensions-Fix-preferences-opening.patch b/0002-extensions-Fix-preferences-opening.patch new file mode 100644 index 0000000..d598eaa --- /dev/null +++ b/0002-extensions-Fix-preferences-opening.patch @@ -0,0 +1,12 @@ +diff -up ./gtweak/tweaks/tweak_group_shell_extensions.py.orig ./gtweak/tweaks/tweak_group_shell_extensions.py +--- ./gtweak/tweaks/tweak_group_shell_extensions.py.orig 2019-09-27 13:15:56.000000000 +0200 ++++ ./gtweak/tweaks/tweak_group_shell_extensions.py 2020-04-04 12:47:37.398869243 +0200 +@@ -159,7 +159,7 @@ class _ShellExtensionTweak(Gtk.ListBoxRo + sw.set_active(False) + + def _on_configure_clicked(self, btn, uuid): +- execute_subprocess(['gnome-shell-extension-prefs', uuid], block=False) ++ execute_subprocess(['gnome-extensions', 'prefs', uuid], block=False) + + def _on_extension_toggled(self, sw, active, uuid): + if not sw.get_active(): diff --git a/gnome-tweaks.spec b/gnome-tweaks.spec index d4ee535..c216e80 100644 --- a/gnome-tweaks.spec +++ b/gnome-tweaks.spec @@ -2,7 +2,7 @@ Name: gnome-tweaks Version: 3.34.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Customize advanced GNOME 3 options # Software is GPLv3, Appdata file is CC0-1.0 @@ -13,6 +13,10 @@ Source0: https://download.gnome.org/sources/%{name}/%{majorversion}/%{nam # Fix opening system installed extensions in gnome-software # https://gitlab.gnome.org/GNOME/gnome-tweaks/merge_requests/25 Patch0: 0001-extensions-Fix-opening-system-installed-extensions-i.patch +# Fix extension preferences with gnome-extensions instead of +# gnome-shell-extension-prefs +# https://bugzilla.redhat.com/show_bug.cgi?id=1820396#c2 +Patch1: 0002-extensions-Fix-preferences-opening.patch BuildRequires: desktop-file-utils BuildRequires: gettext @@ -20,9 +24,8 @@ BuildRequires: libappstream-glib BuildRequires: meson BuildRequires: python3-devel Requires: gnome-desktop3 -Requires: gnome-extensions-app Requires: gnome-settings-daemon -Requires: gnome-shell >= 3.33 +Requires: gnome-shell Requires: gnome-shell-extension-user-theme Requires: gobject-introspection Requires: gsettings-desktop-schemas @@ -88,6 +91,9 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.app %changelog +* Sat Apr 04 2020 Mohamed El Morabity - 3.34.0-4 +- Fix extension preferences opening (RHBZ #1820396) + * Sat Mar 28 2020 Mohamed El Morabity - 3.34.0-3 - Add dependency on gnome-extensions-app (RHBZ #1812779)