Make "Register System" notification launch registration dialog directly
Related: RHEL-4101
This commit is contained in:
parent
8d45f2ee5e
commit
4664aa13d1
@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
Name: gnome-settings-daemon
|
Name: gnome-settings-daemon
|
||||||
Version: 40.0.1
|
Version: 40.0.1
|
||||||
Release: 19%{?dist}
|
Release: 20%{?dist}
|
||||||
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
Summary: The daemon sharing settings from GNOME to GTK+/KDE applications
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -76,6 +76,9 @@ Patch00006: usb-protection-dont-crash-when-screensaver-service-unavailable.patch
|
|||||||
Patch00007: smartcard-hotplug.patch
|
Patch00007: smartcard-hotplug.patch
|
||||||
Patch00008: power-button-action-server.patch
|
Patch00008: power-button-action-server.patch
|
||||||
|
|
||||||
|
# https://issues.redhat.com/browse/RHEL-4101
|
||||||
|
Patch00009: subman-launch-registration-dialog-directly.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A daemon to share settings from GNOME to other applications. It also
|
A daemon to share settings from GNOME to other applications. It also
|
||||||
handles global keybindings, as well as a number of desktop-wide settings.
|
handles global keybindings, as well as a number of desktop-wide settings.
|
||||||
@ -200,6 +203,10 @@ cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
|
|||||||
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
%{_libdir}/pkgconfig/gnome-settings-daemon.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 30 2025 Felipe Borges <feborges@redhat.com> - 40.0.1-20
|
||||||
|
- Make "Register System" notification launch registration dialog directly
|
||||||
|
Related: RHEL-4101
|
||||||
|
|
||||||
* Mon Jan 20 2025 Felipe Borges <feborges@redhat.com> - 40.0.1-19
|
* Mon Jan 20 2025 Felipe Borges <feborges@redhat.com> - 40.0.1-19
|
||||||
- Fix default power-button-action setting for servers
|
- Fix default power-button-action setting for servers
|
||||||
Related: RHEL-71937
|
Related: RHEL-71937
|
||||||
|
31
subman-launch-registration-dialog-directly.patch
Normal file
31
subman-launch-registration-dialog-directly.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From ae039526040319438367802194dc4f7ad5789855 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Felipe Borges <felipeborges@gnome.org>
|
||||||
|
Date: Thu, 30 Jan 2025 17:50:40 +0100
|
||||||
|
Subject: [PATCH] Launch subscription registration dialog directly from
|
||||||
|
notification
|
||||||
|
|
||||||
|
In https://issues.redhat.com/browse/RHEL-4101, GNOME Settings will start
|
||||||
|
handling `gnome-control-center info-overview subman-register` to launch
|
||||||
|
the dialog directly.
|
||||||
|
---
|
||||||
|
plugins/subman/gsd-subscription-manager.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/subman/gsd-subscription-manager.c b/plugins/subman/gsd-subscription-manager.c
|
||||||
|
index 09a96a3a..e3b0565d 100644
|
||||||
|
--- a/plugins/subman/gsd-subscription-manager.c
|
||||||
|
+++ b/plugins/subman/gsd-subscription-manager.c
|
||||||
|
@@ -1082,8 +1082,8 @@ gsd_subscription_manager_class_init (GsdSubscriptionManagerClass *klass)
|
||||||
|
static void
|
||||||
|
_launch_info_overview (void)
|
||||||
|
{
|
||||||
|
- const gchar *argv[] = { "gnome-control-center", "info-overview", NULL };
|
||||||
|
- g_debug ("Running gnome-control-center info-overview");
|
||||||
|
+ const gchar *argv[] = { "gnome-control-center", "info-overview", "subman-register", NULL };
|
||||||
|
+ g_debug ("Running gnome-control-center info-overview subman-register");
|
||||||
|
g_spawn_async (NULL, (gchar **) argv, NULL, G_SPAWN_SEARCH_PATH,
|
||||||
|
NULL, NULL, NULL, NULL);
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.48.1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user