diff options
author | Robert Tari <robert@tari.in> | 2023-10-09 00:50:48 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-10-10 12:33:02 +0200 |
commit | da7398eb50069bb8a29fe08fb4f30dbc18eb532c (patch) | |
tree | dee2bac1b55b89ddf9226808d2647fba8a2711eb /src | |
parent | baac68d16d2272f5b357e7caf3a3d9f3cdab6962 (diff) | |
download | ayatana-indicator-sound-da7398eb50069bb8a29fe08fb4f30dbc18eb532c.tar.gz ayatana-indicator-sound-da7398eb50069bb8a29fe08fb4f30dbc18eb532c.tar.bz2 ayatana-indicator-sound-da7398eb50069bb8a29fe08fb4f30dbc18eb532c.zip |
src/service.vala: Change volume by 2% when scrolling over the indicator
Diffstat (limited to 'src')
-rw-r--r-- | src/service.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.vala b/src/service.vala index c437475..5fbc8e9 100644 --- a/src/service.vala +++ b/src/service.vala @@ -1,6 +1,6 @@ /* * Copyright 2013 Canonical Ltd. - * Copyright 2021-2022 Robert Tari + * Copyright 2021-2023 Robert Tari * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -213,7 +213,7 @@ public class IndicatorSound.Service: Object { private IndicatorSound.InfoNotification _info_notification = new IndicatorSound.InfoNotification(); private AccountsServiceAccess _accounts_service_access; - const double volume_step_percentage = 0.06; + const double volume_step_percentage = 0.02; private void activate_scroll_action (SimpleAction action, Variant? param) { int direction = param.get_int32(); // positive for up, negative for down |