!67 Fix system volume slider error
From: @peijiankang Reviewed-by: @dou33 Signed-off-by: @dou33
This commit is contained in:
commit
cdb5a345f1
24
0001-Fix-system-volume-slider-error.patch
Normal file
24
0001-Fix-system-volume-slider-error.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From d6b5cdabeaead09a9c3b2879d9b7600632f8ac84 Mon Sep 17 00:00:00 2001
|
||||
From: peijiankang <peijiankang@kylinos.cn>
|
||||
Date: Wed, 28 Dec 2022 13:34:10 +0800
|
||||
Subject: [PATCH] Fix system volume slider error
|
||||
|
||||
---
|
||||
ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp b/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||
index 8838375..61cfea3 100644
|
||||
--- a/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||
+++ b/ukui-volume-control-applet-qt/ukmedia_device_switch_widget.cpp
|
||||
@@ -1966,6 +1966,7 @@ void DeviceSwitchWidget::on_stream_control_added (MateMixerStream *stream,const
|
||||
}
|
||||
if (strcmp(m_pAppName,"ukui-session") != 0 && strcmp(m_pAppName,"ukui-volume-control-applet-qt") != 0 && strcmp(m_pAppName,"Volume Control") && \
|
||||
strcmp(m_pAppName,"ALSA plug-in [mate-screenshot]") && strcmp(m_pAppName,"ALSA plug-in [ukui-volume-control-applet-qt]") && !strstr(m_pAppName,"paplay") && \
|
||||
+ strcmp(m_pAppName,"ALSA plug-in [ukui-session]") && \
|
||||
strcmp(m_pAppName,"Ukui Volume Control App") && !strstr(m_pAppName,"QtPulseAudio") && strcmp(m_pAppName,"ukuimedia-volume-control") != 0 && \
|
||||
!strstr(m_pAppName,"ukui-settings-daemon") && strcmp(m_pAppName,"multimedia-volume-control") != 0 && !strstr(m_pAppName,"ukui-notification") && \
|
||||
!strstr(m_pAppName,"kylin-kmre-audio")) {
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,10 +1,11 @@
|
||||
Name: ukui-media
|
||||
Version: 3.0.4
|
||||
Release: 8
|
||||
Release: 9
|
||||
Summary: UKUI media utilities
|
||||
License: GPL-2.0-or-later and GPL-3.0-or-later and BSD-3-Clause
|
||||
URL: http://www.ukui.org
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch01: 0001-Fix-system-volume-slider-error.patch
|
||||
|
||||
Autoreq : yes
|
||||
|
||||
@ -51,6 +52,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch01 -p1
|
||||
|
||||
%build
|
||||
./autogen.sh --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
|
||||
@ -137,6 +139,9 @@ glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null ||:
|
||||
%{_datadir}/glib-2.0/schemas/org.ukui.media.gschema.xml
|
||||
|
||||
%changelog
|
||||
* Wed Dec 28 2022 peijiankang <peijiankang@kylinos.cn> - 3.0.4-9
|
||||
- Fix system-volume slider error
|
||||
|
||||
* Tue Aug 2 2022 peijiankang <peijiankang@kylinos.cn> - 3.0.4-8
|
||||
- modify license error
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user