summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-mixer-dialog.c
AgeCommit message (Collapse)AuthorFilesLines
2022-08-14Add setting for adjustment of audio volume above 100 per cent: Part 2Gordon Norman Squash1-5/+60
There is often a need for the user to increase the audio playback volume above the volume level known as "100% volume". While increasing the audio volume above 100% can result in degraded audio quality, sometimes the audio was, for example, originally recorded at an extremely low volume, and the user has no other option to clearly hear the audio. Unfortunately, most MATE applications with volume controls do not allow the user to set the volume level above 100%. For example, the main MATE Sound Preferences dialog lets you set the audio volume beyond 100% (when possible), whereas the Volume Control Applet, Volume Control status icon, and special "multimedia" volume control keys do not. In fact, if the user even tries to change the volume using any of the latter methods, and the current volume level is above 100%, these latter methods will all reduce the volume to 100%, even if the user tried to increase the volume! This is part 2 of a patch to change this situation. This patch adds this capability to the MATE Volume Control Applet and the MATE Volume Control status icon. It also adds a check box to the MATE Volume Control Preferences dialog to enable or disable this capability, and for consistency, the main volume control at the top of that dialog also obeys the current setting of that check box. This commit is by far the largest one, and is the main part of the patch.
2022-03-18gvc-mixer-dialog: fix build warning -Wsign-comparerbuj1-4/+4
2021-11-10Accessibility improvementsvvillenave1-0/+3
- Make the speaker test dialog accessible - Add an accessible object for the Input level custom widget Co-authored-by: Valentin Villenave <[email protected]>
2021-06-21update copyright to 2021raveit651-0/+1
2020-07-08gvc-mixer-dialogi: Refactor on_notebook_scroll_eventrbuj1-70/+60
2019-10-29gvc-mixer-dialog: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-06-21Add scroll interface tabs with mouse wheelLaurent Napias1-0/+75
2019-04-22gvc-mixer-dialog: avoid declaration of same variable in different scopePablo Barciela1-3/+1
Fixes cppcheck warnings: [mate-volume-control/gvc-mixer-dialog.c:379] -> [mate-volume-control/gvc-mixer-dialog.c:405]: (style) Local variable control shadows outer variable [mate-volume-control/gvc-mixer-dialog.c:535] -> [mate-volume-control/gvc-mixer-dialog.c:586]: (style) Local variable control shadows outer variable
2019-04-20mate-volume-control: reduce the scope of some variablesPablo Barciela1-3/+5
Fixes 'cppcheck' warnings: [mate-volume-control/gvc-level-bar.c:572]: (style) The scope of the variable 'by' can be reduced. [mate-volume-control/gvc-level-bar.c:611]: (style) The scope of the variable 'bx' can be reduced. [mate-volume-control/gvc-mixer-dialog.c:379]: (style) The scope of the variable 'swtch' can be reduced. [mate-volume-control/gvc-mixer-dialog.c:534]: (style) The scope of the variable 'swtch' can be reduced. [mate-volume-control/gvc-mixer-dialog.c:1891]: (style) The scope of the variable 'closure' can be reduced. [mate-volume-control/sound-theme-file-utils.c:47]: (style) The scope of the variable 'data_dir' can be reduced.
2019-04-18mate-volume-control: Fix 'syntax error' detected with 'cppcheck'Pablo Barciela1-1/+1
Fixes cppcheck warnings: [mate-volume-control/gvc-applet.c:118]: (error) syntax error [mate-volume-control/gvc-applet.c:133]: (error) syntax error [mate-volume-control/gvc-applet.c:184]: (error) syntax error [mate-volume-control/gvc-applet.c:287]: (error) syntax error [mate-volume-control/gvc-applet.c:290]: (error) syntax error [mate-volume-control/gvc-combo-box.c:111]: (error) syntax error [mate-volume-control/gvc-combo-box.c:309]: (error) syntax error [mate-volume-control/gvc-combo-box.c:317]: (error) syntax error [mate-volume-control/gvc-combo-box.c:428]: (error) syntax error [mate-volume-control/gvc-mixer-dialog.c:793]: (error) syntax error [mate-volume-control/gvc-status-icon.c:107]: (error) syntax error [mate-volume-control/gvc-status-icon.c:122]: (error) syntax error [mate-volume-control/gvc-status-icon.c:175]: (error) syntax error [mate-volume-control/gvc-status-icon.c:280]: (error) syntax error [mate-volume-control/gvc-status-icon.c:283]: (error) syntax error
2018-07-08gvc-mixer-dialog.c: avoid deprecated 'gtk_widget_override_font'Pablo Barciela1-1/+6
2018-01-28require GTK+ 3.22 and GLib 2.50monsta1-2/+0
2017-05-10mixer-dialog: remove style class .frame from a scrolledwindowraveit651-1/+1
This removes a double border in application page. As the border is already set by the parent notebook.frame.
2017-05-10mixer-dialog: avoid deprecated GtkAlignmentraveit651-36/+23
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-51/+0
and require libmate-desktop >= 1.17
2016-04-04check for GTK+3 stable release, not development onemonsta1-1/+1
2016-02-26GTK+-3.20: add css name GvcMixerDialograveit651-0/+5
2016-01-20use GtkBox instead of GtkVBox/GtkHBox in both GTK+ buildsmonsta1-0/+8
and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build
2014-11-12Improve the Sound effects tab page and codeMichal Ratajsky1-84/+82
- Do not create the volume slider when not supported by the libmatemixer backend - Remove the add_effects_control function as it does the same as bar_set_stream_control - Move the widget construction code from constructor to its own function - Remove some extraneous variables and improve debugging messages
2014-11-10Adapt to class name change in libmatemixermate-media-1.9.1Michal Ratajsky1-1/+1
2014-11-10Improve GvcComboBox and related codeMichal Ratajsky1-231/+45
The combo box now includes an own reference to MateMixerSwitch. This simplifies GvcMixerDialog and makes the code more readable. This change also includes a fix for oversized profile switch label and asynchronous updates of profile names in the HW tab.
2014-11-09Update according to changes in libmatemixerMichal Ratajsky1-9/+7
2014-11-08Move some files and directories to better locationsMichal Ratajsky1-0/+2606
- mate-volume-control/data changed to /data - mate-volume-control/src/* moved to mate-volume-control - sound-theme/sounds changed to /data/sounds - sound-theme/*.{c,h} moved to mate-volume-control - Removed AUTHORS and ChangeLog.pre-2-26 from mate-volume-control