summaryrefslogtreecommitdiff
path: root/mate-volume-control
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-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-11-17fix volume-panel-applet can not find mo fileraveit651-1/+1
2019-11-09migrate from intltools to gettextWu Xiaotian3-14/+17
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-10-29gvc-mixer-dialog: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-10-29gvc-applet: avoid 'g_type_class_add_private'Pablo Barciela1-9/+2
2019-10-29gvc-level-bar: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-10-29gvc-speaker-test: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-10-29gvc-combo-box: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-10-29gvc-balance-bar: avoid 'g_type_class_add_private'Pablo Barciela1-7/+2
2019-10-29gvc-sound-theme-chooser: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-10-29gvc-stream-status-icon: avoid 'g_type_class_add_private'Pablo Barciela1-8/+2
2019-10-29gvc-status-icon: avoid 'g_type_class_add_private'Pablo Barciela1-9/+2
2019-10-29gvc-stream-applet-icon: avoid 'g_type_class_add_private'Pablo Barciela1-9/+3
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-07-27Scroll volume in configurable steps same as media-keysgm101-9/+17
and don't hardcode default value
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 Barciela3-6/+11
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 Barciela4-15/+15
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-21add widget name volume-applet to panel-appletraveit651-0/+3
2019-03-21Allow disabling either statusicon or panelappletlukefromdc1-2/+15
Add --enable-statusicon (yes/no default is yes) and --enable-panelapplet (yes/no default is yes) configuration flags
2019-03-09Re-enable old GtkStatusIconVictor Kareh11-182/+1573
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 slider is always perpendicular to the panellukefromdc1-1/+8
Apparently there is an issue with getting the applet orientation on a bottom panel
2019-02-26Ensure volume icon is always correctly scaledlukefromdc2-1/+27
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 Kareh8-224/+367
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-07-08gvc-mixer-dialog.c: avoid deprecated 'gtk_widget_override_font'Pablo Barciela1-1/+6
2018-01-28require GTK+ 3.22 and GLib 2.50monsta6-78/+1
2018-01-17gvc-applet: don't try to increase refcount of a NULL objectmonsta1-1/+1
fixes another runtime warning
2018-01-17gvc-combo-box: fix signal argumentsmonsta1-3/+2
fixes runtime warning "g_cclosure_marshal_VOID__VOID: assertion 'n_param_values == 1' failed"
2017-10-19applet: restore icon for "Sound Preferences" menu itemmonsta1-2/+5
this adds some deprecated code but brings back the icon it was lost for GTK+3 build here: https://github.com/mate-desktop/mate-media/commit/0c558fac14266f8c18cfb8bc1d4669ed35868c2f#diff-411bda4b8f441c44b560abc7245dd33cR264
2017-09-10avoid deprecated gdk_screen_get_heightraveit651-1/+5
2017-09-08applet: use GdkSeat with GTK+ >= 3.20monsta1-0/+29
2017-08-24applet: make keyboard work in popupmonsta1-2/+19
fixes https://github.com/mate-desktop/mate-media/issues/94
2017-08-16gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+9
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-07-05refresh tray icon on icon theme changemonsta1-0/+18
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
2017-05-10gvc-sound-theme-chooser: avoid deprecated Gtk_Alignmentraveit651-10/+5
2017-04-30gvc-channel-bar: avoid deprecated Gtk_Alignmentraveit651-11/+6
2017-04-28applet: show volume in popup even when mutedMoritz Bruder1-7/+7
2017-04-28applet: round volume in popup of status iconMoritz Bruder1-4/+4
Most of the time the value was off almost 1 percent.
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 optionmonsta11-412/+9
and require libmate-desktop >= 1.17
2016-10-19fix indentmonsta2-45/+45