wb8tyw / D-Rats

D-Rats program for D-Star Ham Radios
https://iz2lxi.jimdofree.com/
Other
7 stars 1 forks source link

fix(main_messages): Folder Menu working #216

Closed wb8tyw closed 2 years ago

wb8tyw commented 2 years ago

Get the folder menu working with the new API

d_rats/ui/main_common.py: In prompt_for_message, retrieve data before destroying it.

d_rats/ui/main_messages.py: Need to pass ApplicationWindow object to MessageFolders.

d_rats/ui/message_folders.py: Convert to Gio.Actions and Gio.Menu.

d_rats/ui/message_list.py: Fix pylint issue with too many lines in function.

d_rats/ui/message_popup_model.py: New module to implement popup menu model.

d_rats/ui/test_message_popup_model.py: Test module for message_popup_model.py

wb8tyw commented 2 years ago

Menu is working now.

I could not get icons working for the menu entries with the new API.