Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src, tests: fix -Wint-to-pointer-cast and a chance of test crashpersonal/peat-psuwit/protected-superclass | Ratchanan Srirattanamet | 2023-11-29 | 2 | -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 integration | Robert Tari | 2023-11-10 | 4 | -22/+43 |
| | |||||
* | src/accounts-service-sound-settings.vala: Whitespace fix | Robert Tari | 2023-11-10 | 1 | -10/+10 |
| | |||||
* | src/accounts-service-access.vala: Refactor code for easier debugging | Robert Tari | 2023-11-10 | 1 | -34/+96 |
| | |||||
* | src/info-notification.vala: Display percentage in the greeter when Orca is ↵ | Robert Tari | 2023-11-04 | 1 | -4/+17 |
| | | | | enabled | ||||
* | src/service.vala: Change volume by 2% when scrolling over the indicator | Robert Tari | 2023-10-10 | 1 | -2/+2 |
| | |||||
* | src/main.c: Add missing headers | Robert Tari | 2023-10-07 | 1 | -0/+3 |
| | |||||
* | src/CMakeLists.txt: Silence false errors created by Vala | Robert Tari | 2023-10-07 | 1 | -0/+8 |
| | |||||
* | src/info-notification.vala: Display percentage when Orca is enabled | Robert Tari | 2023-10-07 | 1 | -5/+23 |
| | |||||
* | Drop custom notification hints | Robert Tari | 2023-09-09 | 2 | -6/+2 |
| | |||||
* | src/info-notification.vala: Drop hint check and create a level indicator | Robert Tari | 2023-09-09 | 1 | -4/+11 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/91 | ||||
* | src/, tests/: update references to renamed notification hints | Ratchanan Srirattanamet | 2023-01-17 | 1 | -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 menu | Robert Tari | 2022-10-25 | 1 | -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 switch | Robert Tari | 2022-09-08 | 2 | -7/+30 |
| | | | | fixes https://github.com/AyatanaIndicators/ayatana-indicator-sound/issues/83 | ||||
* | Merge branch 'sunweaver-pr/tooltip-support' | Mike Gabriel | 2022-09-01 | 1 | -0/+1 |
|\ | | | | | | | Attributes GH PR #84: https://github.com/AyatanaIndicators/ayatana-indicator-sound/pull/84 | ||||
| * | src/service.c: Add tooltip support. | Mike Gabriel | 2022-07-22 | 1 | -0/+1 |
| | | |||||
* | | src/*.vala: make the 'silent mode' switch item & action QMenuModel compatible | Mike Gabriel | 2022-07-19 | 2 | -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 only | Robert Tari | 2022-02-25 | 1 | -7/+13 |
| | |||||
* | Make Lomiri features configurable at build time | Robert Tari | 2022-02-17 | 4 | -14/+14 |
| | |||||
* | license headers: Stop using the '©' character. | Mike Gabriel | 2021-11-19 | 11 | -16/+16 |
| | |||||
* | src/service.vala: Change scrolling debug message type | Robert Tari | 2021-11-17 | 1 | -1/+1 |
| | |||||
* | Clean up schema detection and conditional code | Robert Tari | 2021-11-15 | 4 | -34/+14 |
| | |||||
* | Drop org.ayatana.AccountsService.Sound | Robert Tari | 2021-11-12 | 2 | -21/+17 |
| | |||||
* | Drop data/org.ayatana.sound.gschema.xml | Robert Tari | 2021-11-10 | 1 | -2/+8 |
| | |||||
* | Rename Lomiri-specific properties to x-lomiri | Robert Tari | 2021-11-09 | 2 | -5/+5 |
| | |||||
* | src/CMakeLists.txt: Fix use of HAS_LOMIRI_ACCTSERVICE_*_SETTINGS and what ↵ | Mike Gabriel | 2021-11-08 | 1 | -2/+2 |
| | | | | happens if defined as ON. | ||||
* | Drop local gmenuharness, use it from the system | Robert Tari | 2021-11-08 | 6 | -1509/+0 |
| | |||||
* | Restrict com.canonical.settings.sound code to Unity | Robert Tari | 2021-11-08 | 2 | -10/+20 |
| | |||||
* | Whitespace fix | Robert Tari | 2021-11-08 | 1 | -155/+155 |
| | |||||
* | Fix missing HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS definition | Robert Tari | 2021-11-08 | 1 | -1/+4 |
| | |||||
* | Rename HAS_UT_ACCTSERVICE_SOUND_SETTINGS | Robert Tari | 2021-11-08 | 2 | -2/+2 |
| | |||||
* | Drop unused HAVE_UT_ACCTSERVICE_SOUND_SETTINGS | Robert Tari | 2021-11-08 | 1 | -3/+0 |
| | |||||
* | Rename com.ubuntu.AccountsService.Sound | Mike Gabriel | 2021-11-08 | 2 | -2/+2 |
| | |||||
* | Rename HAS_UBUNTU_SOUND_SCHEMA | Robert Tari | 2021-11-08 | 2 | -2/+2 |
| | |||||
* | Rename VALA_DEFINE_UBUNTU_SOUND_SCHEMA | Robert Tari | 2021-11-08 | 1 | -2/+2 |
| | |||||
* | Rename com.ubuntu.sound | Robert Tari | 2021-11-08 | 2 | -2/+2 |
| | |||||
* | Whitespace fix | Robert Tari | 2021-11-08 | 1 | -21/+21 |
| | |||||
* | Rename UNITY_API* | Robert Tari | 2021-11-05 | 2 | -2/+2 |
| | |||||
* | Rename x-canonical-value-bar-tint | Robert Tari | 2021-11-05 | 1 | -1/+3 |
| | |||||
* | src/media-player-user.vala: Rename unity-greeter-session-broadcast | Robert Tari | 2021-11-05 | 1 | -4/+4 |
| | |||||
* | Rename HAS_UT_ACCTSERVICE_PRIVACY_SETTINGS | Robert Tari | 2021-11-02 | 2 | -4/+4 |
| | |||||
* | src/CMakeLists.txt: Drop unused HAVE_UT_ACCTSERVICE_PRIVACY_SETTINGS | Robert Tari | 2021-11-02 | 1 | -3/+0 |
| | |||||
* | Rename com.ubuntu.touch.AccountsService.SecurityPrivacy | Robert Tari | 2021-11-02 | 2 | -5/+5 |
| | |||||
* | Rename *_UT_ACCTSERVICE_SYSTEMSOUND_SETTINGS to ↵ | Robert Tari | 2021-11-01 | 2 | -8/+10 |
| | | | | HAS_LOMIRI_ACCTSERVICE_SYSTEMSOUND_SETTINGS | ||||
* | Rename com.ubuntu.touch.AccountsService.Sound to ↵ | Robert Tari | 2021-11-01 | 2 | -2/+4 |
| | | | | com.lomiri.touch.AccountsService.Sound | ||||
* | Whitespace fix | Robert Tari | 2021-11-01 | 1 | -2/+2 |
| | |||||
* | Raname x-canonical properties to x-ayatana | Robert Tari | 2021-10-27 | 2 | -4/+4 |
| | |||||
* | Fix undefined VALA_EXTERN | Robert Tari | 2021-10-21 | 1 | -0/+1 |
| | |||||
* | Update Ayatana IDO names | Robert Tari | 2021-10-18 | 1 | -3/+3 |
| | |||||
* | Drop lomiri-url-dispatcher | Robert Tari | 2021-08-28 | 2 | -48/+18 |
| |