summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-channel-bar.c
AgeCommit message (Collapse)AuthorFilesLines
2023-10-05applet: Do not override the process' text domainColomban Wendling1-1/+1
When loaded as in-process applet, we must not call `textdomain()` or we will override mate-panel's text domain. Instead, properly use gi18n-lib.h header that provides the same API but uses the compile-time `GETTEXT_PACKAGE` value for each call. Actually drop the whole i18n setup logic that is provided already by mate-panel's factory macros. Fixes #203.
2022-08-14gvc-stream-status-icon: fix a volume rounding error (101% -> 100%)rbuj1-8/+1
2022-08-14Add setting for adjustment of audio volume above 100 per cent: Part 2Gordon Norman Squash1-2/+73
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.
2021-06-21update copyright to 2021raveit651-0/+1
2019-12-02Show application icons whenever possibleWu Xiaotian1-6/+34
Even if some application icons do not exist in the current theme, try looking for them in the fallback themes.
2019-10-29gvc-channel-bar: remove unused struct memberPablo Barciela1-1/+0
2019-10-29gvc-channel-bar: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-07-27Scroll volume in configurable steps same as media-keysgm101-9/+17
and don't hardcode default value
2018-01-28require GTK+ 3.22 and GLib 2.50monsta1-12/+0
2017-04-30gvc-channel-bar: avoid deprecated Gtk_Alignmentraveit651-11/+6
2017-04-28applet: fix minor rounding mistakesMoritz Bruder1-1/+9
The chosen volume step increment isn't necessarily an integer. The volume however is stored as integer. Whenever the volume is synced back from the mixer decimal digits may be cut off behind the dot. This commit tries to counteract the effect by rounding to hundreths of the maximum volume when syncing back from the mixer. As the volume is shown in percent the new behavior should be more reasonable to the user. There are no more irregular jumps and there is no additional 99% step.
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-44/+3
and require libmate-desktop >= 1.17
2016-02-04GTK+3:fix GtkMisc deprecations for < gtk+-3.16Wolfgang Ulbrich1-4/+10
2016-01-20fix conditions for GtkMisc deprecationsWolfgang Ulbrich1-1/+1
2016-01-20[GTK+3] fix deprecated usage of GtkMiscmonsta1-4/+27
2016-01-20use GtkBox instead of GtkVBox/GtkHBox in both GTK+ buildsmonsta1-4/+0
and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build
2014-11-08Move some files and directories to better locationsMichal Ratajsky1-0/+1158
- 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