Commit graph

991 commits

Author SHA1 Message Date
Vukašin Vojinović
5187fd09ba chore(app-list): update favorites 2024-07-08 16:16:38 +02:00
Ian Douglas Scott
a0145bf106 battery: Fix display brightness slider 2024-07-01 20:07:39 -07:00
Ian Douglas Scott
3beda52c1c battery: Make screen brightness Option; hide if none 2024-07-01 20:07:39 -07:00
Ian Douglas Scott
61a9102fce battery: Exit on NoBattery instead of letting subscription handle it 2024-07-01 20:07:39 -07:00
Ian Douglas Scott
0ef2393288 battery: Use max_kbd_brightness as slider range
This makes sure we can listen to brightness subscription and set the
brightness without conflicts or weird workarounds.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
00e34f4eba battery: Use max_screen_brightness as range of slider
Being able to define sliders this way seems like an advantage of using a
seperate `brightness`/`max_brightness` instead of a float.

Now the `step` of the slider is a single unit as supported by the
display.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
4b83609ee8 battery: Use settings_daemon for display brightness
This shares a subscription with cosmic-osd, avoiding some duplication.
It's also important that things like selection of the display brightness
device are done consistency, and handling this in cosmic-settings-daemon
is one way to ensure consistency.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
78b734afc2 audio: Use volume subscription to detect changes
Fixes https://github.com/pop-os/cosmic-applets/issues/301.

Should be combined with the subscription code here to avoid duplication,
and two things using pulse.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
35491b80a2 audio: Make output_icon_name/input_icon_name functions
There's no need to deviate from a functional pattern here.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
901a70d7a1 battery: Use cosmic-settings-subscriptions for upower subscriptions
These should be useful in `cosmic-osd` as well.
2024-07-01 20:07:39 -07:00
Ian Douglas Scott
4e3eb0a396 battery: Use upower_dbus instead of including bindings here 2024-07-01 20:07:39 -07:00
Vukašin Vojinović
df6232090e chore(panel-button): add text button horizontal padding 2024-06-28 02:07:08 +02:00
VandaLHJ
e7093313d5 Update cosmic_applet_network.ftl PL translation
Add reset
2024-06-24 13:34:38 -06: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
lebkuchen
9d53cfa9e5 desktop actions 2024-06-24 13:34:03 -06:00
Mineeagle
27bbd9bdb3 Add German translation 2024-06-24 13:31:44 -06:00
1280px
88fe3b4a0a l10n(ru): Russian l10n updates 2024-06-24 08:10:33 -06:00
1280px
138e019d4f l10n(ru): Russian l10n updates 2024-06-24 08:10:33 -06:00
EdenQwQ
dd5230c0be i18n(zh-CN): add Chinese translation 2024-06-16 07:10:03 -06:00
Jeremy Soller
3f48f6bb6f
Merge pull request #493 from pop-os/fix-network-reset
fix: allow network resets
2024-06-13 19:05:15 -06:00
Ashley Wulber
d1a6e089b4
fix: allow network resets
also updates libcosmic and cosmic-protocolss, and adds clipboard support to the network applet
2024-06-13 19:45:37 -04:00
Michael Aaron Murphy
91786f50a3
fix: unset VK_LOADER_DRIVERS_DISABLE after enumeration
Allows applications to be launched on the NVIDIA GPU with Vulkan support
2024-06-11 12:14:26 +02:00
VandaLHJ
85d80f8549
i18n(pl): audio applet—unknown artist translation 2024-06-10 16:27:41 +02:00
VandaLHJ
82776680be
i18n(pl): input sources applet translation 2024-06-10 16:26:58 +02:00
VandaLHJ
0640c91967
i18n(pl): power applet translation 2024-06-10 16:26:24 +02:00
Matthew Fallah (マシュー・ファラー)
4905e98d9c
i18n: update French, Spanish, and Japanese versions of power applet 2024-06-10 16:25:36 +02:00
wiiznokes
4d48047c4a
fix: missing icon for Firefox, and un-pinnable Chrome 2024-06-09 09:49:03 +02:00
Michael Aaron Murphy
46a77ee121
fix(input-sources): padding hides text with small panel
Closes #485
2024-06-07 08:52:29 +02:00
Michael Aaron Murphy
bc94804bd8
chore: re-enable fat lto 2024-06-07 00:26:10 +02:00
Michael Aaron Murphy
8ba8ccd6c0
improv: context menu and window preview styling
Closes #480
Closes #481
2024-06-07 00:06:12 +02:00
Michael Aaron Murphy
a1de560240
improv(network): use body text style
Closes #479
2024-06-06 22:35:09 +02:00
wiiznokes
68fd2a6c17
fix: update freedesktop-desktop-entry and fix app-list icons 2024-06-06 22:11:40 +02:00
Gustavo Santana de Aquino
c60a100135
i18n(pt-BR): Translation update (#478)
* i18n(pt-BR):Translation adjustment

* i18n(pt-BR):Translation update

* i18n(pt-BR):Translation adjustment

* i18n(pt-BR):Initial translation

* i18n(pt-BR): EOF Adjustment
2024-06-05 09:29:08 -06:00
FAlexei
2bbf568c60 i18n: Add Russian translation 2024-06-03 20:47:44 -06:00
Cherub
effb07d934 i81n(tr): changing favorite and unfavorite to pin and unpin 2024-06-03 15:11:32 -06:00
Cherub26
177b8524a4 Added Turkish translations 2024-06-03 14:11:19 -06:00
Vukašin Vojinović
f453b4ef9b chore: update references to favorites 2024-06-03 12:48:25 -04:00
Vukašin Vojinović
8858326878 chore(app tray): change favorite string 2024-06-03 12:48:25 -04:00
wiiznokes
406cab9a91
Time applet localization v2 (#455) 2024-05-24 23:16:25 -04:00
Ashley Wulber
c6dd730d78 fix(input sources): button size 2024-05-22 17:08:41 +02:00
Ashley Wulber
5ae7a29dc7 fix: apply default behavior to workspaces which never had a toplevel 2024-05-22 17:08:41 +02:00
Ashley Wulber
5b2bc8eac1 refactor: activate panel-button applet on press down 2024-05-21 02:44:43 +02: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
2e9660f2a8 feat(app-tray): config option for dnd 2024-05-17 19:10:47 -04:00
Ashley Wulber
6ede0fbe05 fix(power): when restarting from the shutdown confirmation, skip the dialog 2024-05-16 21:02:09 -04:00
Ashley Wulber
afff0793aa feat: applet text scaling based on panel size 2024-05-16 18:41:47 +02:00