aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* src/sound-menu.vala: Fix slider precisionRobert Tari2024-04-051-1/+9
|
* Use different code path for Lomiri notificationsRobert Tari2023-11-282-18/+34
|
* src, tests: fix -Wint-to-pointer-cast and a chance of test crashpersonal/peat-psuwit/protected-superclassRatchanan Srirattanamet2023-11-292-2/+2
| | | | | | | | | | | | | | | | | Turns the constructor of `VolumeControl` and `VolumeWarning` from `internal` to `protected`. This makes Vala emits C declaration of constructors, which is required by the test's mocks extending these classes, in the external header. Without them, the mocks' C code would then consider them "implicitly declared", and will assume they return `int` instead of a pointer. If the returned address happened to be higher than `INT_MAX`, the code will consider the returned address negative and sign-extend it when casting to a pointer, corrupting it. As for "unprivating" these constructors, this is an internal static library anyway. No libraries or headers are installed from this package. This change is invisible from outside.
* Fix AccountsService integrationRobert Tari2023-11-104-22/+43
|
* src/accounts-service-sound-settings.vala: Whitespace fixRobert Tari2023-11-101-10/+10
|
* src/accounts-service-access.vala: Refactor code for easier debuggingRobert Tari2023-11-101-34/+96
|
* src/info-notification.vala: Display percentage in the greeter when Orca is ↵Robert Tari2023-11-041-4/+17
| | | | enabled
* src/service.vala: Change volume by 2% when scrolling over the indicatorRobert Tari2023-10-101-2/+2
|
* src/main.c: Add missing headersRobert Tari2023-10-071-0/+3
|
* src/CMakeLists.txt: Silence false errors created by ValaRobert Tari2023-10-071-0/+8
|
* src/info-notification.vala: Display percentage when Orca is enabledRobert Tari2023-10-071-5/+23
|
* Drop custom notification hintsRobert Tari2023-09-092-6/+2
|
* src/info-notification.vala: Drop hint check and create a level indicatorRobert Tari2023-09-091-4/+11
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/91
* src/, tests/: update references to renamed notification hintsRatchanan Srirattanamet2023-01-171-2/+2
| | | | | | | | | | More notification hints have been renamed. So update to follow it. - x-canonical-private-synchronous -> x-lomiri-private-synchronous - x-canonical-private-icon-only -> x-lomiri-private-icon-only - x-canonical-truncation -> x-lomiri-truncation (which Lomiri has compatibility with the former name, so keep in the mocked capabilities)
* src/sound-menu.vala: Do not force panel icons in the sound menuRobert Tari2022-10-251-6/+6
| | | | | | Panel icons are for the panel (mostly symbolic and monochromatic). Somewhere along the way, the Ayatana Sound Indicator menu was forced to use the same icons as those that were meant for the panel. This change makes the indicator menu use the same icons as any other menu or GUI element on the system. End result: makes any theme capable of becoming Ayatana-friendly without hacks.
* Convert Mute menuitem to switchRobert Tari2022-09-082-7/+30
| | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/83
* Merge branch 'sunweaver-pr/tooltip-support'Mike Gabriel2022-09-011-0/+1
|\ | | | | | | Attributes GH PR #84: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/84
| * src/service.c: Add tooltip support.Mike Gabriel2022-07-221-0/+1
| |
* | src/*.vala: make the 'silent mode' switch item & action QMenuModel compatibleMike Gabriel2022-07-192-3/+3
|/ | | | | | | | | | | | | | | | | QMenuModel, inheritting code from GTK, will consider the menu item not "activatable" if the item's "target" [1] doesn't match the corresponding action's parameter. Since we take a boolean as action's parameter (and we can't change action's parameter easily since it's semi-public), we instead have to pass "target". Taking a page from the slider menu items, pass "true" as the target will make QMenuModel considers the item activatable and reflect the right state. [1] i.e. the parameter to pass when activating the action. See https://wiki.gnome.org/Projects/GLib/GApplication/DBusAPI#Attributes Related: https://github.com/AyatanaIndicators/qmenumodel/issues/21
* src/options-gsettings.vala: Use shared settings on Lomiri onlyRobert Tari2022-02-251-7/+13
|
* Make Lomiri features configurable at build timeRobert Tari2022-02-174-14/+14
|
* license headers: Stop using the '©' character.Mike Gabriel2021-11-1911-16/+16
|
* src/service.vala: Change scrolling debug message typeRobert Tari2021-11-171-1/+1
|
* Clean up schema detection and conditional codeRobert Tari2021-11-154-34/+14
|
* Drop org.ayatana.AccountsService.SoundRobert Tari2021-11-122-21/+17
|
* Drop data/org.ayatana.sound.gschema.xmlRobert Tari2021-11-101-2/+8
|
* Rename Lomiri-specific properties to x-lomiriRobert Tari2021-11-092-5/+5
|
* src/CMakeLists.txt: Fix use of HAS_LOMIRI_ACCTSERVICE_*_SETTINGS and what ↵Mike Gabriel2021-11-081-2/+2
| | | | happens if defined as ON.
* Drop local gmenuharness, use it from the systemRobert Tari2021-11-086-1509/+0
|
* Restrict com.canonical.settings.sound code to UnityRobert Tari2021-11-082-10/+20
|
* Whitespace fixRobert Tari2021-11-081-155/+155
|
* Fix missing HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS definitionRobert Tari2021-11-081-1/+4
|
* Rename HAS_UT_ACCTSERVICE_SOUND_SETTINGSRobert Tari2021-11-082-2/+2
|
* Drop unused HAVE_UT_ACCTSERVICE_SOUND_SETTINGSRobert Tari2021-11-081-3/+0
|
* Rename com.ubuntu.AccountsService.SoundMike Gabriel2021-11-082-2/+2
|
* Rename HAS_UBUNTU_SOUND_SCHEMARobert Tari2021-11-082-2/+2
|
* Rename VALA_DEFINE_UBUNTU_SOUND_SCHEMARobert Tari2021-11-081-2/+2
|
* Rename com.ubuntu.soundRobert Tari2021-11-082-2/+2
|
* Whitespace fixRobert Tari2021-11-081-21/+21
|
* Rename UNITY_API*Robert Tari2021-11-052-2/+2
|
* Rename x-canonical-value-bar-tintRobert Tari2021-11-051-1/+3
|
* src/media-player-user.vala: Rename unity-greeter-session-broadcastRobert Tari2021-11-051-4/+4
|
* Rename HAS_UT_ACCTSERVICE_PRIVACY_SETTINGSRobert Tari2021-11-022-4/+4
|
* src/CMakeLists.txt: Drop unused HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGSRobert Tari2021-11-021-3/+0
|
* Rename com.ubuntu.touch.AccountsService.SecurityPrivacyRobert Tari2021-11-022-5/+5
|
* Rename *_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to ↵Robert Tari2021-11-012-8/+10
| | | | HAS_LOMIRI_ACCTSERVICE_SYSTEMSOUND_SETTINGS
* Rename com.ubuntu.touch.AccountsService.Sound to ↵Robert Tari2021-11-012-2/+4
| | | | com.lomiri.touch.AccountsService.Sound
* Whitespace fixRobert Tari2021-11-011-2/+2
|
* Raname x-canonical properties to x-ayatanaRobert Tari2021-10-272-4/+4
|
* Fix undefined VALA_EXTERNRobert Tari2021-10-211-0/+1
|