fix the title bar close button not responding

(cherry picked from commit b578d087c4586cf960219b46ba79157eb2e138e4)
This commit is contained in:
yangfei 2024-12-12 15:26:59 +08:00 committed by openeuler-sync-bot
parent 4ac8d01354
commit 4671db08d9
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