summaryrefslogtreecommitdiff
path: root/mate-volume-control/gvc-applet.c
AgeCommit message (Collapse)AuthorFilesLines
2020-03-03panel-applet: ensure speaker can be shown alongside or above miclukefromdc1-1/+15
Initialize the applet GktBox in the appropriate direction.
2019-10-29gvc-applet: avoid 'g_type_class_add_private'Pablo Barciela1-9/+2
2019-08-20applet: Update default outputVictor Kareh1-0/+72
When a new output device is connected and configured as the default, the mate-volume-control applet (and the status icon) should update the attached control stream. This allows hot-keys and mouse-scroll events to affect the new output device.
2019-07-28gvc applet: add missing translations (i18n)rbuj1-2/+2
2019-04-18mate-volume-control: Fix 'syntax error' detected with 'cppcheck'Pablo Barciela1-5/+5
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
2019-03-09Re-enable old GtkStatusIconVictor Kareh1-51/+36
This allows us to have builds that use both the legacy status icon as well as the new applet.
2019-02-26Enable a mute menuitem for the outputlukefromdc1-40/+45
This is a normal menutem with labels and icons that change with the mute state as a toggle item was not always responsive
2019-02-26Ensure volume icon is always correctly scaledlukefromdc1-0/+12
Correctly size and scale the icon so doesn't get rendered oversize/ cut at certain panel sizes or on first start. Also set the GTK_ICON_LOOKUP_FORCE_SIZE flag in gtk_icon_theme_load_surface so that when icon theme provides only a single scalable icon it renders the correct size. Otherwise such icons render seriously undersize.
2019-02-26Convert GtkStatusIcon to real appletVictor Kareh1-9/+136
2018-07-09Ignore PulseAudio "monitor" inputs when displaying mic iconAndrew Jorgensen1-0/+8
Teradici PCoIP on Linux presently has audio output but no audio input. PulseAudio creates a "monitor" input device for each output device. These combine so that a microphone icon is displayed in the tray even though no actual input device is present. It's misleading, so we created this patch to avoid it.
2018-01-17gvc-applet: don't try to increase refcount of a NULL objectmonsta1-1/+1
fixes another runtime warning
2014-11-08Move some files and directories to better locationsMichal Ratajsky1-0/+357
- 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