Aleksei Bavshin
245f7f4b11
feat(tray): handle scroll events
2021-07-22 08:04:05 -07:00
Aleksei Bavshin
84a8f79bbe
feat(tray): implement tooltips (text only) for tray items
2021-07-22 08:04:03 -07:00
Aleksei Bavshin
4b6253e810
refactor(tray): infer changed properties from signal name
...
Comparing two GVariants is too expensive; let's collect the set of
properties updated by each signal and apply them unconditionally.
2021-07-22 08:04:00 -07:00
Aleksei Bavshin
929fc16994
fix(tray): ignore unused WindowId property
2021-07-22 08:01:25 -07:00
Jan Beich
c844d7ac2e
tray: drop std::filesystem dependency
2020-05-19 10:37:27 +00:00
Aleksei Bavshin
01ad3d96d8
fix(tray): pre-create dbusmenu for tray items
...
It seems that dbusmenu is not ready to display menu immediately and
needs some time to sync data via DBus.
Fixes LIBDBUSMENU-GLIB-CRITICAL: dbusmenu_menuitem_send_about_to_show:
assertion 'DBUSMENU_IS_MENUITEM(mi)' failed.
Also fixes initial render of the menu with layer shell popups support patch.
2019-08-27 00:34:00 -07:00
Aleksei Bavshin
642fd48af1
fix(tray): restore Activate support for compliant SNI implementation
...
Set ItemIsMenu to true by default because libappindicator supports
neither ItemIsMenu nor Activate method and compiant SNI implementations
are expected to reset the flag during initial property fetch.
To be revisited if anyone finds the implementation that has Activate
but does not set ItemIsMenu.
2019-08-27 00:33:59 -07:00
Alex
d2d9db23b5
fix: uninitialized bool
2019-05-17 14:23:52 +02:00
Alex
362c393b1d
refactor: try/catch, sigc trackable
2019-05-13 15:15:50 +02:00
Alex
311c34ecbc
feat(Bar): handle widget size changes
2019-04-24 12:37:24 +02:00
Alex
6ed8f94dab
refactor: format code
2019-04-18 17:52:00 +02:00
Alex
6d6df4be00
refactor(sni-item): better way to search in default theme
2019-04-17 22:15:18 +02:00
Alex
346ec68578
refactor: format tray && partial fix for #235
2019-04-17 14:19:04 +02:00
Alex
57c99dc526
refactor(Tray): also search in default theme
2019-04-11 15:28:38 +02:00
Alex
78067462be
fix(Tray): icons update
2019-04-11 15:20:39 +02:00
Aleksei Bavshin
5a2b5624dc
feat(tray): process tray icon update signals
2019-03-29 18:40:28 -07:00
Aleksei Bavshin
82fcee33b3
refactor(tray): use Gio::DBus bindings in SNI Item class
2019-03-29 18:28:29 -07:00
Robinhuett
29a2ee1744
refactor: Replace all occurencec of gtkmm.h and only use the necessary headers
2019-01-08 21:05:44 +01:00
Alexis
f00be0b552
refactor(tray): remove useless variable
2018-11-22 15:51:55 +01:00
Alexis
ba79b4d397
refactor(tray): cleanup and fixes
2018-11-22 15:47:23 +01:00