aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Scale volume in notifications when allow-amplified-volume is set Fixes: 1293163Lars Uebernickel2014-03-201-1/+1
|\
| * Scale volume in notifications when allow-amplified-volume is setLars Uebernickel2014-03-181-1/+1
| |
* | Show a red icon in the panel when a sound is playing while mute is on Fixes: ↵Lars Uebernickel2014-03-182-1/+44
|\ \ | |/ |/| | | 1291530
| * Show a red icon in the panel when a sound is playing while mute is onLars Uebernickel2014-03-162-1/+44
| |
* | Don't show player sections on the greeter and lock screenLars Uebernickel2014-03-122-2/+11
|/
* Honor com.canonical.indicator.sound visibleLars Uebernickel2014-03-031-1/+6
|
* 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
|\