!10 [sync] PR-8: 修复 应用“Rygel首选项” 的X关闭应用按钮无法点击并关闭应用

From: @openeuler-sync-bot 
Reviewed-by: @lvgenggeng 
Signed-off-by: @lvgenggeng
This commit is contained in:
openeuler-ci-bot 2024-12-12 07:53:34 +00:00 committed by Gitee
commit c7f29fc0af
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
diff -Naur a/src/ui/rygel-preferences-dialog.vala b/src/ui/rygel-preferences-dialog.vala
--- a/src/ui/rygel-preferences-dialog.vala 2023-08-02 19:24:43.000000000 +0800
+++ b/src/ui/rygel-preferences-dialog.vala 2024-12-12 14:39:50.872326487 +0800
@@ -64,6 +64,7 @@
this.on_upnp_switch_toggled ();
});
+ this.dialog.set_deletable (true);
this.dialog.delete_event.connect ( () => {
this.dialog.hide ();
this.loop.quit ();

View File

@ -2,12 +2,14 @@
Name: rygel
Version: 0.42.4
Release: 1
Release: 2
Summary: A media solution can easily share audio, video and pictures, and media player controler
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/Rygel
Source0: https://download.gnome.org/sources/%{name}/0.40/%{name}-%{version}.tar.xz
Patch0001: 0001-fix-the-title-bar-close-button-not-responding.patch
BuildRequires: dbus-glib-devel desktop-file-utils docbook-style-xsl gettext gobject-introspection-devel
BuildRequires: gst-editing-services-devel gstreamer1-devel gstreamer1-plugins-base-devel gtk-doc gtk3-devel
BuildRequires: gupnp-devel gupnp-av-devel gupnp-dlna-devel libgee-devel libmediaart-devel libsoup-devel
@ -115,6 +117,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rygel-preferences.de
%{_mandir}/man5/rygel.conf.5*
%changelog
* Thu Dec 12 2024 yangfei <yangfei@uniontech.com> - 0.42.4-2
- fix: fix the title bar close button not responding
* Wed Aug 23 2023 konglidong <konglidong@uniontech.com> - 0.42.4-1
- update to 0.42.4