Commit graph

1471 commits

Author SHA1 Message Date
Ian Douglas Scott
fe0e4bf409 status-area: Use ItemIsMenu correctly
The comment that was previously here assumed that `ItemIsMenu` should be
defined for any status item that has a menu, but the FreeDesktop spec
rather defines it as an item that "only supports the context menu", so
we should open the menu instead of trying to call `Activate`.

This change won't affect behavior if `ItemIsMenu` is true, but `Activate`
errors, except by opening the menu without having to wait for that
errror first. It will fix the left click to open menu behavior if any
client defines that method to not error, but does set `ItemIsMenu`.
2026-02-02 10:34:25 -08:00
Ian Douglas Scott
c24b769acd status-area: Move duplicated code to an activate function 2026-02-02 10:34:25 -08:00
Ian Douglas Scott
468017654c status-area: Don't try to call activate() in status_menu
This was added in https://github.com/pop-os/cosmic-applets/pull/1143,
but I don't think this code will ever be reached? This code is called
when activating an item in a menu, so it should only apply when there is
a menu.
2026-02-02 10:34:25 -08:00
Ian Douglas Scott
6e99ad42b5 status-area: Don't add duplicate status item
Some clients seem to have issues with this.
2026-02-02 10:34:25 -08:00
Ian Douglas Scott
ebe18a17c5 status-area: Disable buttons when not enabled in DBusMenu 2026-02-02 10:34:25 -08:00
Jeremy Soller
fe2ebe7a89
i18n: translation update from Hosted Weblate (#1282) 2026-01-30 19:11:10 -07:00
Hosted Weblate
87a7b3b88f
i18n: translation updates from weblate
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: David Carvalho <david.snt.carvalho@gmail.com>
Co-authored-by: Hafidz Nasruddin <hafidz@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
Co-authored-by: Yelysei <yelysei.matviienko@proton.me>
Co-authored-by: Zahid Rizky Fakhri <zahidrizkyfakhri@gmail.com>
Co-authored-by: Димко <Term0@ukr.net>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-app-list/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-app-list/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-a11y/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-audio/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-bluetooth/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-network/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-time/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-input-sources-applet/id/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-workspaces-applet/id/
Translation: Pop OS/COSMIC Accessibility Applet
Translation: Pop OS/COSMIC App List Applet
Translation: Pop OS/COSMIC Audio Applet
Translation: Pop OS/COSMIC Battery Applet
Translation: Pop OS/COSMIC Bluetooth Applet
Translation: Pop OS/COSMIC Input Sources Applet
Translation: Pop OS/COSMIC Network Applet
Translation: Pop OS/COSMIC Notifications Applet
Translation: Pop OS/COSMIC Power Applet
Translation: Pop OS/COSMIC Tiling Applet
Translation: Pop OS/COSMIC Time Applet
Translation: Pop OS/COSMIC Workspaces Applet
2026-01-30 21:12:26 +01:00
Ashley Wulber
cbf2a82fb7 chore: update cosmic-settings
also refactors the active device handling, which didn't seem quite correct before.
2026-01-30 00:09:08 +01:00
Jeremy Soller
d4f62852f3
i18n(bg): update desktop info (#1149) 2026-01-27 10:38:23 -07:00
Jeremy Soller
055befb30a
Merge branch 'master' into bulgarian 2026-01-27 10:38:05 -07:00
Jeremy Soller
aa2a66e6b5
i18n: translation update from Hosted Weblate (#1265) 2026-01-27 10:32:24 -07:00
lorduskordus
289ccd77b5 i18n(cs): Update Czech translation 2026-01-27 10:20:55 -07:00
lucamosca1
7a027e715d Update com.system76.CosmicAppletBattery.desktop 2026-01-27 10:10:52 -07:00
Ashley Wulber
d7a693c876
chore: update settings (#1276) 2026-01-27 08:18:59 -07:00
Hosted Weblate
cf5f36176c
i18n: translation updates from weblate
Co-authored-by: Aman Alam <aalam@users.noreply.hosted.weblate.org>
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
Co-authored-by: David Carvalho <david.snt.carvalho@gmail.com>
Co-authored-by: Geeson Wan <wang14240@gmail.com>
Co-authored-by: Gyro Zeppeli <omazurenko@proton.me>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Jacques Hakvoort <jacques.hakvoort@nedap.com>
Co-authored-by: Jun Hwi Ku <siguning@gmail.com>
Co-authored-by: Stepan Denysenko <stepden04@gmail.com>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Co-authored-by: Yelysei <yelysei.matviienko@proton.me>
Co-authored-by: gift983 <983649@my.leicestercollege.ac.uk>
Co-authored-by: lorduskordus <lorduskordus@gmail.com>
Co-authored-by: summoner001 <summoner@disroot.org>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Co-authored-by: Димко <Term0@ukr.net>
Co-authored-by: 铺盖崽 <i@pugai.life>
Co-authored-by: 김유빈 <k.sein1016@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-app-list/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-app-list/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-app-list/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-a11y/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-a11y/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-a11y/nl/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-a11y/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-audio/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-audio/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-audio/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-bluetooth/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-bluetooth/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-bluetooth/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-bluetooth/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-bluetooth/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-network/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-network/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-network/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-network/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/cs/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/cs/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/uk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-time/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-time/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-time/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-input-sources-applet/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-input-sources-applet/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-input-sources-applet/ko/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-workspaces-applet/kk/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-workspaces-applet/ko/
Translation: Pop OS/COSMIC Accessibility Applet
Translation: Pop OS/COSMIC App List Applet
Translation: Pop OS/COSMIC Audio Applet
Translation: Pop OS/COSMIC Battery Applet
Translation: Pop OS/COSMIC Bluetooth Applet
Translation: Pop OS/COSMIC Input Sources Applet
Translation: Pop OS/COSMIC Network Applet
Translation: Pop OS/COSMIC Notifications Applet
Translation: Pop OS/COSMIC Power Applet
Translation: Pop OS/COSMIC Tiling Applet
Translation: Pop OS/COSMIC Time Applet
Translation: Pop OS/COSMIC Workspaces Applet
2026-01-27 08:42:17 +01:00
Aliaksandr Trush
3d41a35168
feat(input-sources): Add variant data to applet (#1162)
Co-authored-by: Levi Portenier <levi@system76.com>
2026-01-26 08:58:10 -07:00
Ashley Wulber
1ba7afe017 chore: update settings subscriptions 2026-01-22 16:22:05 +01:00
lucamosca1
0d355276a9 Update com.system76.CosmicAppletTiling.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
08aab35126 Update com.system76.CosmicAppletTime.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
4a84269158 Update com.system76.CosmicAppList.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
4830b5cc53 Update com.system76.CosmicAppletWorkspaces.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
e2d2f0902f Update com.system76.CosmicAppletStatusArea.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
1fbbbf1df8 Update com.system76.CosmicAppletMinimize.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
7b9842a6ae Update com.system76.CosmicAppletAudio.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
291239d9cc Update com.system76.CosmicPanelLauncherButton.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
b8e49d2f58 Update com.system76.CosmicPanelWorkspacesButton.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
a426ebdf8d Update com.system76.CosmicAppletInputSources.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
7ccf676805 Update com.system76.CosmicAppletA11y.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
5add2a875e Update com.system76.CosmicAppletPower.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
53a244a621 Update com.system76.CosmicAppletNotifications.desktop 2026-01-21 09:43:40 -07:00
lucamosca1
2e1a03aa77 Update com.system76.CosmicAppletNetwork.desktop 2026-01-21 09:43:40 -07:00
Hosted Weblate
37b1a877a6 i18n: translation updates from weblate
Co-authored-by: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Mateus Liberale Gomes <sergiogomes209403@gmail.com>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/pt_BR/
Translation: Pop OS/COSMIC Notifications Applet
Translation: Pop OS/COSMIC Tiling Applet
2026-01-16 10:13:16 -07:00
Michael Aaron Murphy
44ec34f6aa fix(status-area): reducing padding to fix missing icon buttons 2026-01-13 15:33:04 -05:00
Michael Aaron Murphy
6ab2aeca2b fix(status-area): add fallback for icon lookup by name 2026-01-13 15:33:04 -05:00
Michael Aaron Murphy
290439b9b9 fix(status-area): use panel icon button logic for consistency 2026-01-13 15:33:04 -05:00
Michael Aaron Murphy
f06c6a0b80 chore: update dependencies and debian changelog 2026-01-13 15:33:04 -05:00
lorduskordus
7998dffb5d
fix(audio-applet): Replace hardcoded string with existing fluent key (#1256) 2026-01-13 11:22:29 -07:00
Hojjat
a502720a42 fix(status-area): update menu on property update too
Updated menu text (activate/deactivate) or checkmark trigger a property
update and not a layout update.
2026-01-12 12:18:11 -05:00
Ashley Wulber
c113768ac5 improv(network): reduce CPU usage
connections don't need to be updated when popup is closed
2026-01-09 21:41:16 +01:00
Ashley Wulber
1034622dc4 fix: reconnect to network manager if disconnected 2026-01-09 21:41:16 +01:00
Ashley Wulber
1ff85a8a1e chore: update dependencies 2026-01-09 21:41:16 +01:00
Ashley Wulber
10e4f84d3f refactor: use settings subscriptions and nm secret agent 2026-01-09 21:41:16 +01:00
Hosted Weblate
6534939ba6 i18n: translation updates from weblate
Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Geeson Wan <wang14240@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Walter William Beckerleg Bruckman <spayk.99@protonmail.com>
Co-authored-by: therealmate <hellogaming91@gmail.com>
Co-authored-by: 铺盖崽 <i@pugai.life>
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-app-list/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-a11y/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-a11y/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-audio/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-audio/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-battery/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-bluetooth/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-network/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-network/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-notifications/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-power/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-tiling/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-applet-time/hu/
Translate-URL: https://hosted.weblate.org/projects/pop-os/cosmic-input-sources-applet/hu/
Translation: Pop OS/COSMIC Accessibility Applet
Translation: Pop OS/COSMIC App List Applet
Translation: Pop OS/COSMIC Audio Applet
Translation: Pop OS/COSMIC Battery Applet
Translation: Pop OS/COSMIC Bluetooth Applet
Translation: Pop OS/COSMIC Input Sources Applet
Translation: Pop OS/COSMIC Network Applet
Translation: Pop OS/COSMIC Notifications Applet
Translation: Pop OS/COSMIC Power Applet
Translation: Pop OS/COSMIC Tiling Applet
Translation: Pop OS/COSMIC Time Applet
2026-01-06 20:35:32 +01:00
Ashley Wulber
2852f3cc16 fix: status area positioning 2025-12-30 15:58:12 -05:00
Michael Murphy
50d931b191 i18n: removing translation for Frankish 2025-12-30 08:45:29 -07:00
Michael Murphy
9cddbbe28d i18n: removing translation for Frankish 2025-12-30 08:45:29 -07:00
Michael Murphy
00ae6dfac0 i18n: removing translation for Frankish 2025-12-30 08:45:29 -07:00
Michael Murphy
0a8e88b871 i18n: removing translation for Frankish 2025-12-30 08:45:29 -07:00
Michael Murphy
30ad493664 i18n: removing translation for Frankish 2025-12-30 08:45:29 -07:00
Michael Murphy
54f7cb4dad i18n: removing translation for Frankish 2025-12-30 08:45:29 -07:00