aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Remove the new added allow-applified key, it's moved to shared schemas,Sebastien Bacher2014-02-241-1/+3
| | | | | | that way the other desktop components don't need to depends on indicator-sound only to read that settings
* Add comments explaining max_volume a bit betterLars Uebernickel2014-02-201-0/+7
|
* Clamp volume when in the action's change_state handlerLars Uebernickel2014-02-201-1/+2
|
* Add support for amplified volumesLars Uebernickel2014-02-201-7/+38
| | | | | | | Add a settings key "allow-amplified-volume" which controls whether the volume slider stops at 100% or PA_VOLUME_UI_MAX. unity-control-center will provide a ui for this key.
* Use unity-control-center if it is available. Fixes: ↵Robert Ancell2014-01-221-1/+6
|\ | | | | | | | | | | https://bugs.launchpad.net/bugs/1257505. Approved by Ted Gould, PS Jenkins bot.
| * Only run unity-control-center under unityRobert Ancell2014-01-221-1/+1
| |
| * Use unity-control-center if it is availableRobert Ancell2014-01-101-1/+6
| |
* | Don't write 'interested-media-players' on startupLars Uebernickel2014-01-151-6/+17
|/ | | | | | | | IndicatorSound.Service read that gsettings key and inserted the players desktop ids into a MediaPlayerList, which emits "player-added" every time a player is added. This patch makes the service keep track of whether players are added because it is syncing the key or when a player appeared on the bus.
* The VAPI changed to make this ownedTed Gould2014-01-031-1/+1
|
* Weird comment bug where 'lesser' ended up someplaces it didn't belongTed Gould2013-11-157-26/+24
|
* Make player menu item insensitive when player can't be raisedLars Uebernickel2013-10-302-1/+13
|
* Call Raise() when activating a player menu itemLars Uebernickel2013-10-293-6/+13
|
* Rename MediaPlayer.launch() ot activate()Lars Uebernickel2013-10-292-5/+5
|
* Stop using g_icon_serialize() directlyLars Uebernickel2013-10-282-7/+4
| | | | | Vala 0.20 now comes with a gio-2.0.vapi that has Icon.serialize().
* Test that MediaPlayer's icon property isn't NULL before we serialize it. ↵Charles Kerr2013-10-281-1/+7
|\ | | | | | | | | | | Fixes: https://bugs.launchpad.net/bugs/1229612. Approved by PS Jenkins bot, Lars Uebernickel.
| * add the null safeguard back for the pathological case of ↵Charles Kerr2013-10-281-1/+2
| | | | | | | | 'application-default-icon' also failing
| * use 'application-default-icon' as the fallback media player iconCharles Kerr2013-10-281-2/+6
| |
| * test that player.icon isn't null before we serialize it.Charles Kerr2013-10-251-1/+2
| |
* | VolumeControl: don't pass vala closures into libpulseLars Uebernickel2013-10-281-15/+29
|\ \ | |/ |/| | | | | | | | | | | | | | | Libpulse's vala bindings don't specify that callbacks passed into some of its functions (e.g., get_server_info) can be called after the function returns. Vala thus frees closure data after these functions return. This can't easily be fixed in the bindings, because libpulse doesn't provide variants of these functions with destroy_notifies. This patch works around this problem by only passing non-closure functions into libpulse. Fixes: https://bugs.launchpad.net/bugs/1244386. Approved by Charles Kerr, PS Jenkins bot.
| * VolumeControl: don't pass vala closures into libpulseLars Uebernickel2013-10-261-15/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | Libpulse's vala bindings don't specify that callbacks passed into some of its functions (e.g., get_server_info) can be called after the function returns. Vala thus frees closure data after these functions return. This can't easily be fixed in the bindings, because libpulse doesn't provide variants of these functions with destroy_notifies. This patch works around this problem by only passing non-closure functions into libpulse.
* | fix similar variant leaksCharles Kerr2013-10-241-6/+6
| |
* | in Service's volume_changed(), explicitly instantiate the GVariant to avoid ↵Charles Kerr2013-10-241-1/+1
| | | | | | | | leaking it
* | Don't special case Unity sessions, that's not needed sinceSebastien Bacher2013-10-241-3/+1
| | | | | | | | | | | | gnome-control-center is doing the right thing, the session name used was also wrong and couldn't work (lp: #1239545)
* | Only display running players in the phone's sound menuLars Uebernickel2013-10-242-28/+62
|\ \ | | | | | | | | | | | | | | | The design says to only display the _one_ running player. This will have that effect, as there's only one player allowed to run at a time on the phone. Approved by PS Jenkins bot, Ted Gould.
| * | Only display running players in the phone's sound menuLars Uebernickel2013-10-102-25/+54
| | |
| * | Replace 'mute' boolean by a flag in the SoundMenu constructorLars Uebernickel2013-10-102-5/+10
| | | | | | | | | | | | | | | | | | This makes the code calling the constructor more readable and allows for extensibility.
* | | when we fail to connect to pulse, wait a moment before retrying.Charles Kerr2013-10-231-1/+18
| |/ |/|
* | Give the volume menu item a target, because the 'volume' action now has a ↵Lars Uebernickel2013-10-101-1/+1
| | | | | | | | parameter
* | Allow activating the 'volume' actionLars Uebernickel2013-10-091-2/+9
|/ | | | | It does the same as the 'scroll' action except showing a notification.
* Make sure to set the initial value of settings shownTed Gould2013-10-021-1/+1
|
* Making the settings action optionalTed Gould2013-10-022-3/+13
|
* Show synchronous notification when changing the volume by scrolling over the ↵Lars Uebernickel2013-10-013-0/+33
| | | | indicator
* service: use vala's double.clamp()Lars Uebernickel2013-10-011-6/+1
|
* Reconnect when pulseaudio terminates (or crashes)Lars Uebernickel2013-09-301-25/+40
|
* Update settings URL to settings:///systemTed Gould2013-09-261-1/+1
|
* Use url-dispatcher instead of invoking system-settings directly.Charles Kerr2013-09-252-5/+2
|
* sound-menu.vala: make the logic for showing the mic volume more explicitLars Uebernickel2013-09-151-4/+7
| | | | | | | Before, this was done by counting the items that are currently in the volume section. This broke with the last commit, because with that, the section might not contain a mute menu item.
* Don't show the "Mute" menu item in the phone profileLars Uebernickel2013-09-152-4/+5
|
* Add "title" to the root action state dictionaryLars Uebernickel2013-09-121-0/+1
|
* Remove volume percentage from translatable part of the accessible titleLars Uebernickel2013-09-111-1/+1
|
* Mark remaining user-visible strings as translatableLars Uebernickel2013-09-112-3/+3
|
* Toggle mute on secondary actionLars Uebernickel2013-09-091-0/+1
| | | | | | This depends on the panel supporting x-canonical-secondary-action on the root menu item.
* Change volume when scrolling on the indicatorLars Uebernickel2013-09-092-0/+15
| | | | | | | | This depends on a new root menu property: x-canonical-scroll-action. It points to an action that gets activated whenever the user scrolls the mouse over the indicator. The parameter of that action signifies the magnitude and direction of the scroll.
* Merge trunkLars Uebernickel2013-08-264-18/+153
|\
| * don't use deprecated GSimpleActionGroup APIsCharles Kerr2013-08-221-14/+14
| |
| * Clean up the build / installationPete Woods2013-08-161-1/+1
| |
| * Build using cmakePete Woods2013-08-164-40/+131
| |
| * add accessible-name property to the ng sound indicatorCharles Kerr2013-08-081-2/+14
| |
* | bus-watch-namespace: remove stray semicolonLars Uebernickel2013-08-261-1/+1
| |
* | bus-watch-namespace: free name_spaceLars Uebernickel2013-08-261-0/+2
| |