Commit graph

61 commits

Author SHA1 Message Date
Feike Donia
c171f048a6
i18n: update fluent numbering scheme, with German and Dutch translations 2025-07-08 17:03:57 +02:00
Erik W
ac93c41c23 fix(status-area): prevent crash on invalid icon data 2025-06-14 19:02:30 -04:00
Ian Douglas Scott
417f43a0f5 Update to zbus 5.x 2025-05-28 13:40:23 -04:00
Ashley Wulber
942c8397a4 fix(status-area): overflow handling 2025-05-20 17:00:56 +02:00
铺盖崽
513639f407
i18n(zh-CN): update translation 2025-05-01 17:11:41 +02:00
Ryan Brue
82342ef3dc Fix: Duplicate translation for cosmic-applet-status-area
When running desktop-file-validate:

```
/builddir/build/BUILD/cosmic-applets-1.0.0_alpha.6_git20250408.2573eb7-build/BUILDROOT/usr/share/applications/com.system76.CosmicAppletStatusArea.desktop: error: file contains multiple keys named "Name[pt]" in group "Desktop Entry"
```

Fixes building for Fedora, as we use desktop-file-validate for checking desktop files.

Ref: 2573eb7545

I figured since this is the translation that was recently added, that the intent is to keep the newer one.
2025-04-10 20:53:20 -06:00
David Carvalho
2573eb7545 i18n - update portuguese translations 2025-04-08 15:56:30 -06:00
David Carvalho
715f5b2732 i18n (pt-BR) Update translations 2025-04-08 08:33:44 -06:00
Ian Douglas Scott
2a939e5a11 status-area: Handle changes to icon properties
It seems status icons, at least some, don't send property change
notifications. So we can't rely on that, and have to disable caching.
And handle the `NewIcon` signal defined in
https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/StatusNotifierItem

I'm not sure whether or not there's a *good* reason it works this way,
but regardless I see `nm-applet` and `ibus` update their icons as
they should after these changes.
2025-03-17 20:46:08 -07:00
Feike Donia
7fdaf839e0
i18n(nl): update Dutch translation 2025-03-17 21:45:34 +01:00
Ashley Wulber
c54ddeb38a chore: udpate libcosmic 2025-03-14 14:26:42 -04:00
Ashley Wulber
61d1d1b91d fix: use fixed window width for all applets 2025-03-14 14:26:42 -04:00
Ashley Wulber
9b09c97665 fix(status arrea): padding 2025-03-14 14:26:42 -04:00
Ashley Wulber
0de336d0d7 update libcosmic: adds tooltip support 2025-03-14 14:26:42 -04:00
Michael Aaron Murphy
dc86f23a73
chore: upgrade all dependencies 2025-02-19 18:31:56 +01:00
mkljczk
8181bfa98c i18n(pl): translate desktop entries and metainfo
Signed-off-by: mkljczk <git@mkljczk.pl>
2025-02-17 15:01:34 +01:00
therealmate
c133152b87
i18n(hu): update Hungarian translations 2025-02-10 13:18:14 +01:00
Ashley Wulber
09062c10c9 refactor: status area single threaded executor 2024-11-11 11:05:10 -05:00
Ashley Wulber
5b5cd77e7c update iced 2024-10-31 17:52:33 -04:00
Ryan Brue
0a32d27c70 chore(license): clarify GPL-3.0 license as GPL-3.0-only
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
2024-09-16 07:40:23 -06:00
LazyTanuki
b41f30e1a1 fix: make overflow button and status area buttons popup on press down instead of on press
leftovers from #568
2024-08-15 17:52:23 +02:00
Ashley Wulber
6661598839 feat: misc overflow 2024-07-24 08:51:46 -04:00
Ryan Brue
d4c5cc969d
chore(desktop-file): remove Iced category 2024-07-18 06:29:36 +02:00
Vukašin Vojinović
4ceac0c57b cleanup: applet names and comments 2024-07-09 21:06:01 +02:00
Vukašin Vojinović
0640e88412 chore: merge imports 2024-07-09 16:26:27 +02:00
Ian Douglas Scott
1eaccc0f24 status-area: Send opened/closed dbus menu events 2024-06-24 13:34:15 -06:00
Ian Douglas Scott
a5dfc883b8 status-area: Call AboutToShow before showing menu
Comments in `gnome-shell-extension-appindicator` indicate this is
necessary for some clients. Checking the return value doesn't seem to
be.

There are more comments about Dropbox; more may be needed to fix it,
which doesn't seem to behave very properly.
2024-06-24 13:34:15 -06:00
Ian Douglas Scott
1370558546 status-area: Ignore shortcut field to fix parse error
If this has the wrong type, it causes a parse error due to
https://github.com/dbus2/zbus/issues/856.

This fixes the status icon for Slack, and probably other applications.
Not sure how this field is defined in general, but with Slack it is
an `aas`.

`gnome-shell-extension-appindicator` doesn't seem to use the `shortcut`
field either.
2024-06-24 13:34:15 -06:00
Ian Douglas Scott
3641bf8bce status-area: Use zbus::interface instead of deprecated dbus_interface 2024-06-24 13:34:15 -06:00
Ashley Wulber
37a60b7759
fix(input-sources): text size 2024-05-18 02:01:40 +02:00
Ashley Wulber
87250b5e50 zbus update 2024-05-18 01:38:41 +02:00
Ashley Wulber
3a39874291 fix(status-area): update existing menu if a duplicate is registered 2024-05-14 17:46:36 -04:00
Ashley Wulber
0d27b2e02a refactor: set locations of auto popup hover 2024-05-13 21:11:23 +02:00
Ashley Wulber
b3440c5834 feat: auto-switch popup for status-area 2024-05-09 16:01:01 +02:00
W
df6f6c948c Update Notifications Tray icon 2024-05-08 15:50:29 -04:00
Ashley Wulber
55d1cc454b cleanup: applet names and comments 2024-05-07 21:28:22 +02:00
Ryan Brue
4609f7acbd fix(typo): Fix typo in icon directory for status area 2024-05-07 19:09:46 +02:00
Michael Aaron Murphy
8527257ddd chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
Ashley Wulber
73ae871088 fix(status-area): force size to match symbolic icons 2024-04-30 20:15:07 -04:00
Ashley Wulber
8900b93c85 fix(app-list): padding typo 2024-04-15 23:46:48 -04:00
Ashley Wulber
8bf340aa8e chore: update applet icon sizes 2024-04-15 23:46:48 -04:00
Ian Douglas Scott
56d3a754e2 status-area: Support vertical panel 2024-04-04 13:25:16 +02:00
Ian Douglas Scott
d5aa2f3252 status-area: Handle clients that don't provide icon_name/icon_pixmap
It seems some clients expose the properties and leave them empty, but
others just provide either one on its own.

This fixes clients like Mattermost.
2024-03-28 15:31:44 -07:00
Ian Douglas Scott
180e75cb9a
status-area: Show icons that have icon_pixmap but not icon_name (#302)
This is at least one of the issue behind
https://github.com/pop-os/cosmic-applets/issues/165. OBS now shows it's
icon instead of an empty space. But the Mattermost flatpak doesn't show
anything. (Is that Flatpak related, or does it not use
`StatusNotifierItem`?)

Requires https://github.com/pop-os/libcosmic/pull/368. Ideally, it
should have some way to choose from multiple icons in memory of
different sizes.
2024-03-27 13:33:37 -07:00
Michael Aaron Murphy
e0632b8c6f chore(cargo): upgrade dependencies across workspace 2024-03-14 23:37:37 +01:00
Michael Aaron Murphy
3c4acdacd7 refactor: compile applets as multicall binary 2024-03-14 23:37:37 +01:00
Hugo Carvalho
5c40222b46 Update com.system76.CosmicAppletStatusArea.desktop 2024-03-06 15:44:59 -05:00
Ashley Wulber
37fd39340b chore: fmt 2024-02-20 10:55:08 -05:00
Ashley Wulber
d17894f94e chore: clippy 2024-02-20 10:55:08 -05:00
Ashley Wulber
f00fd8bc1a chore: update fixes 2024-02-06 16:21:16 -05:00