• verdre's avatar
    media-keys: Split up update_dialog into two functions · 7bf807de
    verdre authored
    The function `update_dialog` has nothing to do with a dialog, to make
    the code better understandable, split it up into two functions:
    `show_volume_osd` and `play_volume_changed_audio`.
    
    While at it, also include the function `ensure_canberra` in the new
    function since it's only needed here and use `g_signal_connect_swapped`
    for the `sound_theme_changed` callback.
    
    !77
    7bf807de
Name
Last commit
Last update
..
README.media-keys-API Loading commit data...
audio-selection-test.c Loading commit data...
bus-watch-namespace.c Loading commit data...
bus-watch-namespace.h Loading commit data...
gsd-marshal.list Loading commit data...
gsd-media-keys-manager.c Loading commit data...
gsd-media-keys-manager.h Loading commit data...
gsd-media-keys.service.in Loading commit data...
gsd-media-keys.target.in Loading commit data...
gsd-screenshot-utils.c Loading commit data...
gsd-screenshot-utils.h Loading commit data...
main.c Loading commit data...
media-keys.h Loading commit data...
meson.build Loading commit data...
mpris-controller.c Loading commit data...
mpris-controller.h Loading commit data...
org.gnome.SettingsDaemon.MediaKeys.desktop.in Loading commit data...
org.gnome.ShellKeyGrabber.xml Loading commit data...
shell-action-modes.h Loading commit data...
shortcuts-list.h Loading commit data...