Commit graph

75 commits

Author SHA1 Message Date
Ian Douglas Scott
5dc055b143 Update gtk4-rs and rust-toolchain 2021-12-15 11:54:02 -08:00
Ian Douglas Scott
845ca1e396 Call RegisterStatusNotifierHost 2021-09-24 11:30:44 -07:00
Ian Douglas Scott
397c671da0 Disconnect signals on dispose 2021-09-24 10:32:06 -07:00
Ian Douglas Scott
58e3850766 Do not incorrectly/unnecssarily stop timer 2021-09-24 10:17:38 -07:00
Ian Douglas Scott
c4c5f1d618 Autohide notification when mouse not over 2021-09-24 09:40:03 -07:00
Ian Douglas Scott
42dc75ee80 Set width of notification 2021-09-23 18:34:08 -07:00
Ian Douglas Scott
9d10b0228f Fix button press handling on notification popover 2021-09-23 15:54:12 -07:00
Ian Douglas Scott
13aa62cef8 notifications: initial logic for sending action signal 2021-09-23 14:42:24 -07:00
Ian Douglas Scott
94def67e85 Start config parsing code 2021-09-16 14:50:50 -07:00
Ian Douglas Scott
ec6a0ff366 Close notification popover on "notification-closed" 2021-09-14 12:34:45 -07:00
Ian Douglas Scott
e9055e74d9 Formatting of close button 2021-09-14 12:23:22 -07:00
Ian Douglas Scott
a82c0a5577 Add button to close notification 2021-09-13 13:48:17 -07:00
Ian Douglas Scott
e0d1224173 Initial code for activating notification row 2021-09-09 14:29:06 -07:00
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