Commit graph

1512 commits

Author SHA1 Message Date
Ian Douglas Scott
db70daa238 Initial code for listing notifications 2021-09-09 13:05:24 -07:00
Ian Douglas Scott
14dc25985a Emit dbus signal when notification closed 2021-09-09 11:55:14 -07:00
Ian Douglas Scott
cc9961c634 Show notification summary 2021-09-09 08:47:35 -07:00
Ian Douglas Scott
efcb3c5aec Close notification on click 2021-09-09 08:27:04 -07:00
Ian Douglas Scott
cc8da887e6 WIP show notification 2021-09-09 07:38:18 -07:00
Ian Douglas Scott
17df83e611 Store notifications 2021-09-08 15:18:13 -07:00
Ian Douglas Scott
2396ebbaa9 Signals 2021-09-08 12:09:41 -07:00
Ian Douglas Scott
e62824a4fc WIP send signal on notify 2021-09-08 09:10:40 -07:00
Ian Douglas Scott
069e1a24f9 Make Notifications a GObject
So it can emit signals.
2021-09-07 18:33:11 -07:00
Ian Douglas Scott
7430b965e1 Pass app to PanelWindow::new() 2021-09-07 12:56:25 -07:00
Ian Douglas Scott
4e5479cdd8 Use GtkApplication 2021-09-07 12:46:18 -07:00
Ian Douglas Scott
f3828f8239 WIP NotificationPopover 2021-09-03 12:21:12 -07:00
Ian Douglas Scott
3f9fd84737 Bold buttons 2021-09-03 10:57:34 -07:00
Ian Douglas Scott
d1493a5a1f Use custom PopoverContainer instead of gtk4::MenuButton 2021-09-03 10:45:34 -07:00
Ian Douglas Scott
4126950836 Struct for notification hints 2021-09-02 15:28:41 -07:00
Ian Douglas Scott
9e8ce5f8d9 Split next_id() logic into function 2021-09-02 14:37:32 -07:00
Ian Douglas Scott
cf94792f12 Initial code for supporting notifications
DBus daemon code; needs testing, and connection to UI.
2021-09-01 15:38:14 -07:00
Ian Douglas Scott
4c070c4d41 Fix dbus return value 2021-09-01 14:21:22 -07:00
Ian Douglas Scott
fb16fdd264 Fix StatusNotiferWatcher behavior 2021-09-01 13:29:33 -07:00
Ian Douglas Scott
f5ed9495c6 Initial code for implementing StatusNotifierWatcher service 2021-09-01 13:04:02 -07:00
Ian Douglas Scott
4b942c1b92 Support panel at bottom
Since there's no configuration to read, hardcoded constant for now.
2021-08-31 16:40:02 -07:00
Ian Douglas Scott
01a1f5e132 README.md 2021-08-31 09:16:40 -07:00
Ian Douglas Scott
9e4b87814c LGPL 2021-08-31 09:15:07 -07:00
Ian Douglas Scott
11e9ff8e38 Adjust mpris player UI formatting 2021-08-30 14:58:55 -07:00
Ian Douglas Scott
2c43d72b5a Show all Mpris players instead of one arbitrary one 2021-08-30 14:32:53 -07:00
Ian Douglas Scott
93764ce651 Make use of more menu properties 2021-08-30 13:17:24 -07:00
Ian Douglas Scott
684ef12fca Button formatting 2021-08-30 12:45:46 -07:00
Ian Douglas Scott
3d85922fcc Split code into method 2021-08-30 12:33:45 -07:00
Ian Douglas Scott
d926d449b3 Handle changes to menu following 'LayoutUpdated' signal 2021-08-30 12:23:14 -07:00
Ian Douglas Scott
2eabba81dd Close menu on click 2021-08-30 10:33:41 -07:00
Ian Douglas Scott
aca1ea3a15 Initial code for sending clicked event 2021-08-30 10:20:36 -07:00
Ian Douglas Scott
308253d9a9 Show icon in menu 2021-08-30 09:41:37 -07:00
Ian Douglas Scott
225795c3d5 Initial code for populating menu 2021-08-30 08:50:10 -07:00
Ian Douglas Scott
87eb5e173b Create seperate widget for status menu 2021-08-30 07:58:04 -07:00
Ian Douglas Scott
1c2e1fbe5b Accessor methods, better debug for menu 2021-08-27 10:44:35 -07:00
Ian Douglas Scott
91638fae8b Button style
How to get `MenuButton` to be "flat"?
2021-08-26 22:21:15 -07:00
Ian Douglas Scott
e26ae62532 Use IsA<Window> 2021-08-26 22:04:07 -07:00
Ian Douglas Scott
cf63465320 Actually use window size to determine space to reserve 2021-08-26 22:00:48 -07:00
Ian Douglas Scott
223b4c5ba0 Subclass gtk4::Window 2021-08-26 21:54:51 -07:00
Ian Douglas Scott
a1edaa2f62 WIP window size detection code 2021-08-26 21:14:58 -07:00
Ian Douglas Scott
fa6108ff22 Select current day when calendar opened 2021-08-26 20:51:57 -07:00
Ian Douglas Scott
4c799a2bed WIP code for getting layout from menu 2021-08-26 16:09:25 -07:00
Ian Douglas Scott
9fca893fe1 Detect registered/unregisterered in StatusArea 2021-08-26 15:04:01 -07:00
Ian Douglas Scott
720c40f5f2 Initial implementation of StatusArea
Just shows icons, and doesn't handle added/removed icons.
2021-08-26 14:22:48 -07:00
Ian Douglas Scott
843fba67b1 Add StatusArea widget
A palceholder, for now.
2021-08-26 13:50:54 -07:00
Ian Douglas Scott
121c759904 Load image only if uri changed 2021-08-26 13:42:06 -07:00
Ian Douglas Scott
80bfe912aa Set play/pause icon depending on state 2021-08-26 13:27:58 -07:00
Ian Douglas Scott
d28bbe2471 Show some media metadata 2021-08-26 13:22:33 -07:00
Ian Douglas Scott
1145729a9e More work on mpris controls: buttons now work 2021-08-26 11:00:43 -07:00
Ian Douglas Scott
0ccab6df13 Move time_button into its own custom widget 2021-08-26 10:22:47 -07:00