!15 fix(media-keys):Fix sound up change volume normal to max
From: @meizhigang Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
5e8664ab9e
@ -0,0 +1,31 @@
|
|||||||
|
From c7ea14902880d20fa454ac57ea4d0c9c582f829f Mon Sep 17 00:00:00 2001
|
||||||
|
From: meizhigang <meizhigang@kylinsec.com.cn>
|
||||||
|
Date: Mon, 26 Jun 2023 13:50:15 +0800
|
||||||
|
Subject: [PATCH] fix(media-keys):Fix sound up change volume normal to max
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
- 适配音量增大替换基准音量使用最大音量
|
||||||
|
|
||||||
|
Related #I7C0TD
|
||||||
|
---
|
||||||
|
plugins/media-keys/msd-media-keys-manager.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
|
||||||
|
index 79d9496..62690f3 100644
|
||||||
|
--- a/plugins/media-keys/msd-media-keys-manager.c
|
||||||
|
+++ b/plugins/media-keys/msd-media-keys-manager.c
|
||||||
|
@@ -713,7 +713,7 @@ do_sound_action (MsdMediaKeysManager *manager,
|
||||||
|
/* Theoretically the volume limits might be different for different
|
||||||
|
* streams, also the minimum might not always start at 0 */
|
||||||
|
volume_min = mate_mixer_stream_control_get_min_volume (control);
|
||||||
|
- volume_max = mate_mixer_stream_control_get_normal_volume (control);
|
||||||
|
+ volume_max = mate_mixer_stream_control_get_max_volume (control);
|
||||||
|
|
||||||
|
volume_step = g_settings_get_int (manager->priv->settings, "volume-step");
|
||||||
|
if (volume_step <= 0 ||
|
||||||
|
--
|
||||||
|
2.27.0
|
||||||
|
|
||||||
@ -15,7 +15,7 @@
|
|||||||
Name: mate-settings-daemon
|
Name: mate-settings-daemon
|
||||||
Version: %{branch}.0
|
Version: %{branch}.0
|
||||||
%if 0%{?rel_build}
|
%if 0%{?rel_build}
|
||||||
Release: 6
|
Release: 7
|
||||||
%else
|
%else
|
||||||
Release: 0.10%{?git_rel}
|
Release: 0.10%{?git_rel}
|
||||||
%endif
|
%endif
|
||||||
@ -42,6 +42,7 @@ Patch1003: 0001-fix-plugin-keyboard-not-show-the-xkb-status-icon-2613d058.p
|
|||||||
Patch1004: 1004-fix-keybinding-add-some-media-key-translations-f605e267.patch
|
Patch1004: 1004-fix-keybinding-add-some-media-key-translations-f605e267.patch
|
||||||
Patch1005: 1005-fix-media-keys-add-the-case-of-kiran-screensaver-whi-cc8f2984.patch
|
Patch1005: 1005-fix-media-keys-add-the-case-of-kiran-screensaver-whi-cc8f2984.patch
|
||||||
Patch1006: 0001-fix-media-keys-Fix-grap-keys-while-set-capital-lette.patch
|
Patch1006: 0001-fix-media-keys-Fix-grap-keys-while-set-capital-lette.patch
|
||||||
|
Patch1007: 0001-fix-media-keys-Fix-sound-up-change-volume-normal-to-.patch
|
||||||
|
|
||||||
BuildRequires: dbus-glib-devel
|
BuildRequires: dbus-glib-devel
|
||||||
BuildRequires: dconf-devel
|
BuildRequires: dconf-devel
|
||||||
@ -139,6 +140,9 @@ desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/mate-settings-dae
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 26 2023 meizhigang <meizhigang@kylinsec.com.cn> - 1.22.0-7
|
||||||
|
- KYOS-B: Fix sound up change volume normal to max (#I7C0TD)
|
||||||
|
|
||||||
* Fri Jun 09 2023 meizhigang <meizhigang@kylinsec.com.cn> - 1.22.0-6
|
* Fri Jun 09 2023 meizhigang <meizhigang@kylinsec.com.cn> - 1.22.0-6
|
||||||
- KYOS-B: Fix grap keys while set capital letters (#I7C0TD)
|
- KYOS-B: Fix grap keys while set capital letters (#I7C0TD)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user