summaryrefslogtreecommitdiff
path: root/mate-volume-control
AgeCommit message (Collapse)AuthorFilesLines
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
2016-10-19Port from libunique to GApplication and GtkApplicationZenWalker2-4/+68
applet-main.c: gtk2 and gtk3 Port to Gapplication based on this gnome-media commits: https://github.com/GNOME/gnome-media/commit/7b5a8127cea09779dd172b0b7598d2ad03b2e47b https://github.com/GNOME/gnome-media/commit/7283e156e0ea1b2d19292a97104b3ad49fc9e693 dialog-main.c: gtk3 Port to Gapplication and GtkApplication I did this implementation Fixes #77
2016-08-12GTK+-3.20 levelbar: set css name gvc-level-barraveit651-0/+3
2016-04-04check for GTK+3 stable release, not development onemonsta1-1/+1
2016-02-26GTK+3: Get values from GtkStyleContext states properlyraveit651-6/+10
2016-02-26GTK+-3.20: add css name GvcMixerDialograveit651-0/+5
2016-02-04GTK+3:fix GtkMisc deprecations for < gtk+-3.16Wolfgang Ulbrich1-4/+10
2016-01-20fix conditions for GtkMisc deprecationsWolfgang Ulbrich3-3/+3
2016-01-20[GTK+3] fix deprecated usage of GtkMiscmonsta3-4/+38
2016-01-20use GtkBox instead of GtkVBox/GtkHBox in both GTK+ buildsmonsta9-50/+9
and fix deprecated usage of GtkHBox and GtkVBox in GTK+3 build
2015-11-18Don't remove slider backgroundGyörgy Balló1-1/+0
This fixes the background for GTK+ 3 themes which don't support mate-panel explicitly. Themes could still overwrite the background if they want in the usual way.
2015-10-14use mate-panel-applet-slider as style classraveit651-1/+1
2015-10-13GTK3: Support custom panel themes and transparencylukefromdc1-1/+27
This adds support for custom panel themes using the .mate-panel-menu-bar selector to control child widgets. The menus are controllled by .mate-panel-menu-bar .menu and most of the slider theme is that of the frame it is drawn in. The .mate-panel-menu-bar .frame selector will theme this frame, there is also an inner frame in the layout which will follow .mate-panel-menu-bar .frame .frame and otherwise display a second time anything specified in .mate-panel-menu-bar .frame. In most cases that can simply be set transparent. Themes can use alpha values for both menus and slider backgrounds.
2015-03-23first connect to settings, then read them.Monsta1-4/+5
fixes the issue with GLib >= 2.43, https://git.gnome.org/browse/glib/commit/?id=8ff5668a458344da22d30491e3ce726d861b3619 Closes https://github.com/mate-desktop/mate-media/pull/57
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-12Add missing bracesMichal Ratajsky1-1/+2
2014-11-10Adapt to class name change in libmatemixermate-media-1.9.1Michal Ratajsky1-1/+1
2014-11-10Build gvc-utils for mate-volume-control only as it is not used by the appletMichal Ratajsky1-2/+2
2014-11-10Remove unused variableMichal Ratajsky1-2/+1
2014-11-10Merge branch 'michal-wip'Michal Ratajsky82-15814/+2052
2014-11-10Add forgotten GTK+ version check to GvcLevelBarMichal Ratajsky1-0/+2
2014-11-10Fix look of the peak meter on GTK3 and use a support function from ↵Michal Ratajsky3-191/+10
libmate-desktop instead of custom copy&paste
2014-11-10Improve GvcComboBox and related codeMichal Ratajsky3-363/+239
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