Skip to content

Commit 26531fc

Browse files
topisanioutfoxxed
authored andcommitted
service/tray: emit change signals for item title and description
1 parent 667bd38 commit 26531fc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog/next.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ set shell id.
2828
- Fixed volumes not initializing if a pipewire device was already loaded before its node.
2929
- Fixed hyprland active toplevel not resetting after window closes.
3030
- Fixed hyprland ipc window names and titles being reversed.
31+
- Fixed missing signals for system tray item title and description updates.
3132

3233
## Packaging Changes
3334

src/services/status_notifier/item.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,8 @@ private slots:
207207
QS_BINDING_SUBSCRIBE_METHOD(StatusNotifierItem, bOverlayIconPixmaps, updatePixmapIndex, onValueChanged);
208208
QS_BINDING_SUBSCRIBE_METHOD(StatusNotifierItem, bAttentionIconPixmaps, updatePixmapIndex, onValueChanged);
209209
QS_BINDING_SUBSCRIBE_METHOD(StatusNotifierItem, bMenuPath, onMenuPathChanged, onValueChanged);
210+
QS_BINDING_SUBSCRIBE_METHOD(StatusNotifierItem, bTooltip, tooltipTitleChanged, onValueChanged);
211+
QS_BINDING_SUBSCRIBE_METHOD(StatusNotifierItem, bTooltip, tooltipDescriptionChanged, onValueChanged);
210212
Q_OBJECT_BINDABLE_PROPERTY(StatusNotifierItem, quint32, pixmapIndex);
211213
Q_OBJECT_BINDABLE_PROPERTY(StatusNotifierItem, QString, bIcon, &StatusNotifierItem::iconChanged);
212214

0 commit comments

Comments
 (0)