Fix extension preferences opening (RHBZ #1820396)
This commit is contained in:
parent
5cd5545b5a
commit
0c2a1cca9d
12
0002-extensions-Fix-preferences-opening.patch
Normal file
12
0002-extensions-Fix-preferences-opening.patch
Normal file
@ -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():
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: gnome-tweaks
|
Name: gnome-tweaks
|
||||||
Version: 3.34.0
|
Version: 3.34.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Customize advanced GNOME 3 options
|
Summary: Customize advanced GNOME 3 options
|
||||||
|
|
||||||
# Software is GPLv3, Appdata file is CC0-1.0
|
# 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
|
# Fix opening system installed extensions in gnome-software
|
||||||
# https://gitlab.gnome.org/GNOME/gnome-tweaks/merge_requests/25
|
# https://gitlab.gnome.org/GNOME/gnome-tweaks/merge_requests/25
|
||||||
Patch0: 0001-extensions-Fix-opening-system-installed-extensions-i.patch
|
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: desktop-file-utils
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -20,9 +24,8 @@ BuildRequires: libappstream-glib
|
|||||||
BuildRequires: meson
|
BuildRequires: meson
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
Requires: gnome-desktop3
|
Requires: gnome-desktop3
|
||||||
Requires: gnome-extensions-app
|
|
||||||
Requires: gnome-settings-daemon
|
Requires: gnome-settings-daemon
|
||||||
Requires: gnome-shell >= 3.33
|
Requires: gnome-shell
|
||||||
Requires: gnome-shell-extension-user-theme
|
Requires: gnome-shell-extension-user-theme
|
||||||
Requires: gobject-introspection
|
Requires: gobject-introspection
|
||||||
Requires: gsettings-desktop-schemas
|
Requires: gsettings-desktop-schemas
|
||||||
@ -88,6 +91,9 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/metainfo/*.app
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 04 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.34.0-4
|
||||||
|
- Fix extension preferences opening (RHBZ #1820396)
|
||||||
|
|
||||||
* Sat Mar 28 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.34.0-3
|
* Sat Mar 28 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.34.0-3
|
||||||
- Add dependency on gnome-extensions-app (RHBZ #1812779)
|
- Add dependency on gnome-extensions-app (RHBZ #1812779)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user