• 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