aboutsummaryrefslogtreecommitdiff
path: root/src/sound-menu.vala
Commit message (Collapse)AuthorAgeFilesLines
* Weird comment bug where 'lesser' ended up someplaces it didn't belongTed Gould2013-11-151-2/+2
|
* Stop using g_icon_serialize() directlyLars Uebernickel2013-10-281-6/+3
| | | | | Vala 0.20 now comes with a gio-2.0.vapi that has Icon.serialize().
* 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
|
* Only display running players in the phone's sound menuLars Uebernickel2013-10-241-25/+59
|\ | | | | | | | | | | 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-24/+53
| |
| * Replace 'mute' boolean by a flag in the SoundMenu constructorLars Uebernickel2013-10-101-2/+7
| | | | | | | | | | | | This makes the code calling the constructor more readable and allows for extensibility.
* | Give the volume menu item a target, because the 'volume' action now has a ↵Lars Uebernickel2013-10-101-1/+1
|/ | | | parameter
* Make sure to set the initial value of settings shownTed Gould2013-10-021-1/+1
|
* Making the settings action optionalTed Gould2013-10-021-3/+12
|
* 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-151-2/+3
|
* Mark remaining user-visible strings as translatableLars Uebernickel2013-09-111-1/+1
|
* 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-091-0/+1
| | | | | | | | 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.
* Build using cmakePete Woods2013-08-161-0/+3
|
* Fixed max-icon icon sourceNick Dedekind2013-07-301-2/+2
|
* Export phone menuLars Uebernickel2013-07-251-2/+2
| | | | | | 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-2/+6
|
* service.vala: move menu handling into sound-menu.valaLars Uebernickel2013-07-251-0/+160
This makes service.vala a lot more readable and makes way for exporting a second - slightly different - menu for the phone profile.