aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
Commit message (Collapse)AuthorAgeFilesLines
* 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-151-2/+2
|
* Make player menu item insensitive when player can't be raisedLars Uebernickel2013-10-301-1/+3
|
* Rename MediaPlayer.launch() ot activate()Lars Uebernickel2013-10-291-1/+1
|
* Stop using g_icon_serialize() directlyLars Uebernickel2013-10-281-1/+1
| | | | | Vala 0.20 now comes with a gio-2.0.vapi that has Icon.serialize().
* 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-241-3/+3
|\ | | | | | | | | | | 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-101-1/+1
| |
| * Replace 'mute' boolean by a flag in the SoundMenu constructorLars Uebernickel2013-10-101-3/+3
| | | | | | | | | | | | This makes the code calling the constructor more readable and allows for extensibility.
* | Allow activating the 'volume' actionLars Uebernickel2013-10-091-2/+9
|/ | | | | It does the same as the 'scroll' action except showing a notification.
* Making the settings action optionalTed Gould2013-10-021-0/+1
|
* Show synchronous notification when changing the volume by scrolling over the ↵Lars Uebernickel2013-10-011-0/+30
| | | | indicator
* service: use vala's double.clamp()Lars Uebernickel2013-10-011-6/+1
|
* Update settings URL to settings:///systemTed Gould2013-09-261-1/+1
|
* Use url-dispatcher instead of invoking system-settings directly.Charles Kerr2013-09-251-5/+1
|
* Don't show the "Mute" menu item in the phone profileLars Uebernickel2013-09-151-2/+2
|
* 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-111-2/+2
|
* Change volume when scrolling on the indicatorLars Uebernickel2013-09-091-0/+14
| | | | | | | | 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.
* don't use deprecated GSimpleActionGroup APIsCharles Kerr2013-08-221-14/+14
|
* Build using cmakePete Woods2013-08-161-3/+0
|
* add accessible-name property to the ng sound indicatorCharles Kerr2013-08-081-2/+14
|
* Export phone menuLars Uebernickel2013-07-251-4/+17
| | | | | | For now, this does the same as the one on the desktop, except for starting the the phone's settings ui.
* service.vala: store menus in a hash table, keyed by profile nameLars Uebernickel2013-07-251-6/+8
|
* service.vala: move menu handling into sound-menu.valaLars Uebernickel2013-07-251-125/+6
| | | | | | This makes service.vala a lot more readable and makes way for exporting a second - slightly different - menu for the phone profile.
* Specify fallback iconsLars Uebernickel2013-07-191-6/+13
| | | | | The *-panel suffix is only used by the ubuntu-mono icon themes.
* Use interested-media-players instead of preferred-media-players gsettings keyLars Uebernickel2013-07-111-4/+4
|
* Expose playlists in the menu if the player exports themLars Uebernickel2013-07-101-3/+44
|
* service.vala: make removing a player from the menu more readableLars Uebernickel2013-06-281-10/+17
|
* Fold all patches into sourceLars Uebernickel2013-06-191-1/+10
| | | | | | | | | These patches didn't apply to the current source. They added support for sound settings panels in various desktop environments. We need a better solution for that, which doesn't require patching the source when a desktop environment wants a different command line.
* Mark translatable strings as translatableLars Uebernickel2013-06-191-2/+2
|
* Update indicator icon when volume changesLars Uebernickel2013-06-181-3/+27
|
* Allow setting the microphone volume if an app using it is runningLars Uebernickel2013-06-181-0/+38
|
* Change playback action state to "string"Lars Uebernickel2013-06-171-1/+5
| | | | | | To accomodate for a third state "Launching" (in addition to "Playing" and "Paused").
* Export playback menu itemLars Uebernickel2013-06-171-1/+23
|
* Put mute and volume slider into a single sectionLars Uebernickel2013-06-131-4/+5
| | | | | To avoid a separator between them.
* Give players their own section in the menuLars Uebernickel2013-06-131-5/+10
|
* Player menu item: export application iconLars Uebernickel2013-06-131-0/+1
|