Initial Code for TrayIcon core implementation by eumario · Pull Request #336 · StreamController/StreamController · GitHub
Skip to content

Initial Code for TrayIcon core implementation#336

Merged
Core447 merged 1 commit into
StreamController:devfrom
eumario:tray-icon-impl
Feb 16, 2025
Merged

Initial Code for TrayIcon core implementation#336
Core447 merged 1 commit into
StreamController:devfrom
eumario:tray-icon-impl

Conversation

@eumario

@eumario eumario commented Feb 16, 2025

Copy link
Copy Markdown
Contributor

Copied over trayicon.py from plugin to core file in src/backend/trayicon.py Renamed TrayIcon and Menu in trayicon.py to DBusTrayIcon and DBusMenu Updated src/tray.py with code to utilize functionality of DBusTrayIcon. Implemented menus for Show Window, Settings, Store, About, and Quit. Due to lateness in getting MainWindow created, added gl.tray_icon.initlaize() to end of build() function for MainWindow, so that we can be sure that HamburgerMenuButton has been created for their actions.

Copied over trayicon.py from plugin to core file in src/backend/trayicon.py
Renamed TrayIcon and Menu in trayicon.py to DBusTrayIcon and DBusMenu
Updated src/tray.py with code to utilize functionality of DBusTrayIcon.
Implemented menus for Show Window, Settings, Store, About, and Quit.
Due to lateness in getting MainWindow created, added gl.tray_icon.initlaize() to end of build() function for MainWindow, so that we can be sure that HamburgerMenuButton has been created for their actions.
@Core447

Core447 commented Feb 16, 2025

Copy link
Copy Markdown
Member

@Core447 Core447 merged commit 684a76f into StreamController:dev Feb 16, 2025
@eumario eumario deleted the tray-icon-impl branch March 23, 2025 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants